Guard midori_web_view_menu_background_tab_activate_cb for WebKitGTK+ 1.1.15

This commit is contained in:
Christian Dywan 2009-11-25 23:42:09 +01:00
parent e65606fd06
commit 76cf21146d

View file

@ -1518,6 +1518,7 @@ midori_web_view_menu_new_tab_activate_cb (GtkWidget* widget,
} }
} }
#if WEBKIT_CHECK_VERSION (1, 1, 15)
static void static void
midori_web_view_menu_background_tab_activate_cb (GtkWidget* widget, midori_web_view_menu_background_tab_activate_cb (GtkWidget* widget,
MidoriView* view) 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, g_signal_emit (view, signals[NEW_TAB], 0, view->link_uri,
!view->open_tabs_in_the_background); !view->open_tabs_in_the_background);
} }
#endif
static void static void
midori_web_view_menu_search_web_activate_cb (GtkWidget* widget, midori_web_view_menu_search_web_activate_cb (GtkWidget* widget,