[Xfce4-commits] <midori:master> Move the version check for res:// handling where it belongs

Christian Dywan noreply at xfce.org
Thu Oct 22 02:22:08 CEST 2009


Updating branch refs/heads/master
         to ce5c6ec91b4ca9cf60648fb8a3b5ce50cc36b931 (commit)
       from 9040d4363217d82dc8e8525e00a5ef40185340d7 (commit)

commit ce5c6ec91b4ca9cf60648fb8a3b5ce50cc36b931
Author: Christian Dywan <christian at twotoasts.de>
Date:   Thu Oct 22 02:19:29 2009 +0200

    Move the version check for res:// handling where it belongs

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

diff --git a/midori/midori-view.c b/midori/midori-view.c
index f2ce0d1..060459e 100644
--- a/midori/midori-view.c
+++ b/midori/midori-view.c
@@ -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",



More information about the Xfce4-commits mailing list