[epiphany/gnome-3-10] ephy-web-view: fix a critical warning



commit c915e5783f5460d19347557e6a643cb8c4003aa6
Author: Claudio Saavedra <csaavedra igalia com>
Date:   Thu Nov 14 13:31:51 2013 +0200

    ephy-web-view: fix a critical warning

 embed/ephy-web-view.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/embed/ephy-web-view.c b/embed/ephy-web-view.c
index c6732c3..d4be61e 100644
--- a/embed/ephy-web-view.c
+++ b/embed/ephy-web-view.c
@@ -1513,6 +1513,8 @@ web_view_check_snapshot (WebKitWebView *web_view)
   GtkTreeIter iter;
   GtkTreeRowReference *ref;
   GtkTreePath *path;
+  EphyWebView* view = EPHY_WEB_VIEW (web_view);
+
   EphyEmbedShell *embed_shell = ephy_embed_shell_get_default ();
 
   store = EPHY_OVERVIEW_STORE (ephy_embed_shell_get_frecent_store (embed_shell));
@@ -1527,6 +1529,8 @@ web_view_check_snapshot (WebKitWebView *web_view)
                                   ref);
   }
 
+  view->priv->snapshot_idle_id = 0;
+
   return FALSE;
 }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]