summaryrefslogtreecommitdiff
path: root/applets/brightness/gpm-common.c
diff options
context:
space:
mode:
authormonsta <[email protected]>2018-01-28 14:33:17 +0300
committerraveit65 <[email protected]>2018-01-29 15:59:27 +0100
commitdac0d4e304ceaa0e4f5c93fe4053ad44233a2c75 (patch)
treebbfeb8167947be43580ee675016d4c781a0cadc5 /applets/brightness/gpm-common.c
parentbff61989d0355ee61120ce5d0121d0c99f693569 (diff)
downloadmate-power-manager-dac0d4e304ceaa0e4f5c93fe4053ad44233a2c75.tar.bz2
mate-power-manager-dac0d4e304ceaa0e4f5c93fe4053ad44233a2c75.tar.xz
require GTK+ 3.22 and GLib 2.50
and drop additional checks for min/max GLib versions, it's not needed
Diffstat (limited to 'applets/brightness/gpm-common.c')
-rw-r--r--applets/brightness/gpm-common.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/applets/brightness/gpm-common.c b/applets/brightness/gpm-common.c
index da47610..9ebfbf0 100644
--- a/applets/brightness/gpm-common.c
+++ b/applets/brightness/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;