[epiphany] ephy-web-view: cast object to the right type



commit 7c634f7c171250525eb63b3024e289bbea270458
Author: Xan Lopez <xan igalia com>
Date:   Tue Mar 12 19:23:54 2013 +0100

    ephy-web-view: cast object to the right type

 embed/ephy-web-view.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/embed/ephy-web-view.c b/embed/ephy-web-view.c
index f5627d8..9f3d014 100644
--- a/embed/ephy-web-view.c
+++ b/embed/ephy-web-view.c
@@ -1231,7 +1231,7 @@ load_process_crashed_page_cb (EphyWebView *web_view)
 static void
 process_crashed_cb (WebKitWebView *web_view, gpointer user_data)
 {
-  EphyWebViewPrivate *priv = web_view->priv;
+  EphyWebViewPrivate *priv = EPHY_WEB_VIEW (web_view)->priv;
 
   g_return_if_fail (priv->show_process_crash_page_id == 0);
   priv->show_process_crash_page_id = g_idle_add_full (G_PRIORITY_LOW,


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