diff options
author | raveit65 <[email protected]> | 2017-07-28 11:22:57 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2017-07-28 17:05:25 +0200 |
commit | 8f0a1c5bd44fc7d8d1d8dbf86e850688ce3a3da1 (patch) | |
tree | 870253080b491f5e6da4f782ca8729bb083fd22d /gsearchtool/src | |
parent | ce334fa530ff5b2d77c15f06a1a63d0532bbc3e2 (diff) | |
download | mate-utils-8f0a1c5bd44fc7d8d1d8dbf86e850688ce3a3da1.tar.bz2 mate-utils-8f0a1c5bd44fc7d8d1d8dbf86e850688ce3a3da1.tar.xz |
don't use deprecated gtk_show_uri
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; |