]> spindle.queued.net Git - midori/commitdiff
Use about:blank as speed dial resource root with WebKitGTK+ 1.1.14
authorChristian Dywan <christian@twotoasts.de>
Wed, 27 Jan 2010 22:14:02 +0000 (23:14 +0100)
committerChristian Dywan <christian@twotoasts.de>
Wed, 27 Jan 2010 22:17:15 +0000 (23:17 +0100)
midori/midori-view.c

index 07213f39b0dc1b4a53f5e90e5873b93cda04aaed..47979547e9def404be0c0a98c1222f6c34916b95 100644 (file)
@@ -3159,7 +3159,11 @@ midori_view_set_uri (MidoriView*  view,
                 "{are_you_sure}", _("Are you sure you want to delete this shortcut?"), NULL);
 
 
-            #if WEBKIT_CHECK_VERSION (1, 1, 6)
+            #if WEBKIT_CHECK_VERSION (1, 1, 14)
+            webkit_web_frame_load_alternate_string (
+                webkit_web_view_get_main_frame (WEBKIT_WEB_VIEW (view->web_view)),
+                data, "about:blank", "about:blank");
+            #elif WEBKIT_CHECK_VERSION (1, 1, 6)
             webkit_web_frame_load_alternate_string (
                 webkit_web_view_get_main_frame (WEBKIT_WEB_VIEW (view->web_view)),
                 data, res_root, "about:blank");