diff options
Diffstat (limited to 'gsearchtool/src')
-rw-r--r-- | gsearchtool/src/gsearchtool-callbacks.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gsearchtool/src/gsearchtool-callbacks.c b/gsearchtool/src/gsearchtool-callbacks.c index 49dd5b7a..876fc0f5 100644 --- a/gsearchtool/src/gsearchtool-callbacks.c +++ b/gsearchtool/src/gsearchtool-callbacks.c @@ -186,8 +186,13 @@ click_help_cb (GtkWidget * widget, GtkWidget * window = data; GError * error = NULL; +#if GTK_CHECK_VERSION (3, 22, 0) + gtk_show_uri_on_window (GTK_WINDOW (window), "help:mate-search-tool", + gtk_get_current_event_time (), &error); +#else gtk_show_uri (gtk_widget_get_screen (widget), "help:mate-search-tool", gtk_get_current_event_time (), &error); +#endif if (error) { GtkWidget * dialog; |