summaryrefslogtreecommitdiff
path: root/gsearchtool
diff options
context:
space:
mode:
authormonsta <[email protected]>2018-01-28 22:19:00 +0300
committerraveit65 <[email protected]>2018-01-30 17:06:31 +0100
commit2165616a83855afbb1c9b69c736de2e7c7dfbdf8 (patch)
tree7ac83afa0d7b77e49e6bb7f8b02383693c207d22 /gsearchtool
parent526b193ba678a7826af232526dfec0a37836a7e5 (diff)
downloadmate-utils-2165616a83855afbb1c9b69c736de2e7c7dfbdf8.tar.bz2
mate-utils-2165616a83855afbb1c9b69c736de2e7c7dfbdf8.tar.xz
require GTK+ 3.22 and GLib 2.50
Diffstat (limited to 'gsearchtool')
-rw-r--r--gsearchtool/src/gsearchtool-callbacks.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/gsearchtool/src/gsearchtool-callbacks.c b/gsearchtool/src/gsearchtool-callbacks.c
index 876fc0f5..55b1e086 100644
--- a/gsearchtool/src/gsearchtool-callbacks.c
+++ b/gsearchtool/src/gsearchtool-callbacks.c
@@ -186,13 +186,9 @@ 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;