From 76cf21146dfd4e4fd64796b1f7f5c27307a57353 Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Wed, 25 Nov 2009 23:42:09 +0100 Subject: [PATCH] Guard midori_web_view_menu_background_tab_activate_cb for WebKitGTK+ 1.1.15 --- midori/midori-view.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/midori/midori-view.c b/midori/midori-view.c index c5ddebce..e41d19f3 100644 --- a/midori/midori-view.c +++ b/midori/midori-view.c @@ -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, -- 2.39.5