]> spindle.queued.net Git - midori/commitdiff
Adjust an #ifdef in web cache possibly leading to compile warnings
authorChristian Dywan <christian@twotoasts.de>
Thu, 5 Nov 2009 22:30:57 +0000 (23:30 +0100)
committerChristian Dywan <christian@twotoasts.de>
Sun, 8 Nov 2009 13:39:46 +0000 (14:39 +0100)
extensions/web-cache.c

index 3bf366fb7158fc2e3663faf6ab846adf0b8e0f6a..74b1691ce54198580536baab15ef2830598d20a1 100644 (file)
@@ -520,9 +520,9 @@ static void
 web_cache_deactivate_tabs (MidoriView*      view,
                            MidoriExtension* extension)
 {
+    #if HAVE_WEBKIT_RESOURCE_REQUEST
     GtkWidget* web_view = gtk_bin_get_child (GTK_BIN (view));
 
-    #if HAVE_WEBKIT_RESOURCE_REQUEST
     g_signal_handlers_disconnect_by_func (
        web_view, web_cache_resource_request_starting_cb, extension);
     #endif