From dac0d4e304ceaa0e4f5c93fe4053ad44233a2c75 Mon Sep 17 00:00:00 2001 From: monsta Date: Sun, 28 Jan 2018 14:33:17 +0300 Subject: require GTK+ 3.22 and GLib 2.50 and drop additional checks for min/max GLib versions, it's not needed --- applets/inhibit/gpm-common.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'applets/inhibit/gpm-common.c') diff --git a/applets/inhibit/gpm-common.c b/applets/inhibit/gpm-common.c index da47610..9ebfbf0 100644 --- a/applets/inhibit/gpm-common.c +++ b/applets/inhibit/gpm-common.c @@ -45,11 +45,7 @@ gpm_help_display (const gchar *link_id) else uri = g_strdup ("help:mate-power-manager"); -#if GTK_CHECK_VERSION (3, 22, 0) gtk_show_uri_on_window (NULL, uri, GDK_CURRENT_TIME, &error); -#else - gtk_show_uri (NULL, uri, GDK_CURRENT_TIME, &error); -#endif if (error != NULL) { GtkWidget *d; -- cgit v1.2.1