From: Christian Dywan Date: Fri, 17 Jun 2011 09:54:21 +0000 (+0200) Subject: Purge unused web_frame in midori_view_construct_web_view X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8bac897a8869e58cd1a0fea60360bc059009d549;p=midori Purge unused web_frame in midori_view_construct_web_view --- diff --git a/midori/midori-view.c b/midori/midori-view.c index b2307e8a..1dc09526 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);