[gitg/wip/techlivezh/bug/720726] Run update in the right 'WebView' context
- From: Techlive Zheng <techlivezh src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gitg/wip/techlivezh/bug/720726] Run update in the right 'WebView' context
- Date: Wed, 25 Dec 2013 04:39:03 +0000 (UTC)
commit 1a1e85a6dbaba694de218a14a34aef7b09c7ca09
Author: Techlive Zheng <techlivezheng gmail com>
Date: Tue Dec 10 18:11:26 2013 +0800
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
libgitg/gitg-diff-view.vala | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libgitg/gitg-diff-view.vala b/libgitg/gitg-diff-view.vala
index 1db62c2..dc437f4 100644
--- a/libgitg/gitg-diff-view.vala
+++ b/libgitg/gitg-diff-view.vala
@@ -265,7 +265,7 @@ namespace Gitg
if (ev == WebKit.LoadEvent.FINISHED)
{
d_loaded = true;
- update();
+ (v as Gitg.DiffView).update();
}
});
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]