]> spindle.queued.net Git - midori/commitdiff
Move the version check for res:// handling where it belongs
authorChristian Dywan <christian@twotoasts.de>
Thu, 22 Oct 2009 00:19:29 +0000 (02:19 +0200)
committerChristian Dywan <christian@twotoasts.de>
Thu, 22 Oct 2009 00:20:27 +0000 (02:20 +0200)
midori/midori-view.c

index f2ce0d1e48a9143650ce99470472353e8c869fea..060459e9675dcfbb0f3c1c1dddc996a17796fbcd 100644 (file)
@@ -2742,12 +2742,12 @@ midori_view_construct_web_view (MidoriView* view)
     #endif
 
     g_object_connect (view->web_view,
-                      #if WEBKIT_CHECK_VERSION (1, 1, 14)
                       "signal::navigation-policy-decision-requested",
                       midori_view_web_view_navigation_decision_cb, view,
-                      #endif
+                      #if WEBKIT_CHECK_VERSION (1, 1, 14)
                       "signal::resource-request-starting",
                       midori_view_web_view_resource_request_cb, view,
+                      #endif
                       "signal::load-started",
                       webkit_web_view_load_started_cb, view,
                       "signal::load-committed",