[Xfce4-commits] <midori:master> Purge unused web_frame in midori_view_construct_web_view

Christian Dywan noreply at xfce.org
Fri Jun 17 12:02:01 CEST 2011


Updating branch refs/heads/master
         to 8bac897a8869e58cd1a0fea60360bc059009d549 (commit)
       from f0d39ad3aa3e474c176cdfb98fbff2d006ea65f7 (commit)

commit 8bac897a8869e58cd1a0fea60360bc059009d549
Author: Christian Dywan <christian at twotoasts.de>
Date:   Fri Jun 17 11:54:21 2011 +0200

    Purge unused web_frame in midori_view_construct_web_view

 midori/midori-view.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/midori/midori-view.c b/midori/midori-view.c
index b2307e8..1dc0952 100644
--- a/midori/midori-view.c
+++ b/midori/midori-view.c
@@ -3402,7 +3402,6 @@ midori_view_web_inspector_close_window_cb (gpointer    inspector,
 static void
 midori_view_construct_web_view (MidoriView* view)
 {
-    WebKitWebFrame* web_frame;
     gpointer inspector;
 
     g_return_if_fail (!view->web_view);
@@ -3411,7 +3410,6 @@ midori_view_construct_web_view (MidoriView* view)
 
     /* Load something to avoid a bug where WebKit might not set a main frame */
     webkit_web_view_open (WEBKIT_WEB_VIEW (view->web_view), "");
-    web_frame = webkit_web_view_get_main_frame (WEBKIT_WEB_VIEW (view->web_view));
 
     #if HAVE_HILDON
     gtk_widget_tap_and_hold_setup (view->web_view, NULL, NULL, 0);



More information about the Xfce4-commits mailing list