Run update in the right 'WebView' context

Fix the bizzard error 'ReferenceError: Can't find variable: update_diff'
rised by WebView.

https://bugzilla.gnome.org/show_bug.cgi?id=720726
This commit is contained in:
Techlive Zheng 2013-12-10 18:11:26 +08:00
parent cb2bb2fceb
commit 18043d1659

View File

@ -265,7 +265,7 @@ namespace Gitg
if (ev == WebKit.LoadEvent.FINISHED)
{
d_loaded = true;
update();
(v as Gitg.DiffView).update();
}
});