summaryrefslogtreecommitdiff
path: root/libslab/slab-mate-util.c
diff options
context:
space:
mode:
authormonsta <[email protected]>2018-01-28 22:42:47 +0300
committerraveit65 <[email protected]>2018-01-30 20:11:14 +0100
commit2be32a55532fbb010f83472064435aae49e36270 (patch)
tree8a57f8d9d0b17ea7d4277c5d167c6eee4d0164b8 /libslab/slab-mate-util.c
parent312edc87dae270e11ce2955c7c26b3387ae94985 (diff)
downloadmate-control-center-2be32a55532fbb010f83472064435aae49e36270.tar.bz2
mate-control-center-2be32a55532fbb010f83472064435aae49e36270.tar.xz
require GTK+ 3.22 and GLib 2.50
Diffstat (limited to 'libslab/slab-mate-util.c')
-rw-r--r--libslab/slab-mate-util.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/libslab/slab-mate-util.c b/libslab/slab-mate-util.c
index efb4a535..2eb55209 100644
--- a/libslab/slab-mate-util.c
+++ b/libslab/slab-mate-util.c
@@ -118,11 +118,7 @@ open_desktop_item_help (MateDesktopItem * desktop_item)
help_uri = g_strdup_printf ("help:%s", doc_path);
error = NULL;
-#if GTK_CHECK_VERSION (3, 22, 0)
if (!gtk_show_uri_on_window (NULL, help_uri, gtk_get_current_event_time (), &error))
-#else
- if (!gtk_show_uri (libslab_get_current_screen (), help_uri, gtk_get_current_event_time (), &error))
-#endif
{
g_warning ("error opening %s [%s]\n", help_uri, error->message);