]> spindle.queued.net Git - midori/commitdiff
Guard midori_web_view_menu_background_tab_activate_cb for WebKitGTK+ 1.1.15
authorChristian Dywan <christian@twotoasts.de>
Wed, 25 Nov 2009 22:42:09 +0000 (23:42 +0100)
committerChristian Dywan <christian@twotoasts.de>
Wed, 25 Nov 2009 22:42:09 +0000 (23:42 +0100)
midori/midori-view.c

index c5ddebce428b5478e30f695618c3c4503e1ea2ca..e41d19f38e92dc8085d86f0e45df495c0262b9f5 100644 (file)
@@ -1518,6 +1518,7 @@ midori_web_view_menu_new_tab_activate_cb (GtkWidget*  widget,
     }
 }
 
+#if WEBKIT_CHECK_VERSION (1, 1, 15)
 static void
 midori_web_view_menu_background_tab_activate_cb (GtkWidget*  widget,
                                                  MidoriView* view)
@@ -1525,6 +1526,7 @@ midori_web_view_menu_background_tab_activate_cb (GtkWidget*  widget,
     g_signal_emit (view, signals[NEW_TAB], 0, view->link_uri,
                    !view->open_tabs_in_the_background);
 }
+#endif
 
 static void
 midori_web_view_menu_search_web_activate_cb (GtkWidget*  widget,