Guard midori_web_view_menu_background_tab_activate_cb for WebKitGTK+ 1.1.15
This commit is contained in:
parent
e65606fd06
commit
76cf21146d
1 changed files with 2 additions and 0 deletions
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue