diff options
author | monsta <[email protected]> | 2018-01-28 14:33:17 +0300 |
---|---|---|
committer | raveit65 <[email protected]> | 2018-01-29 15:59:27 +0100 |
commit | dac0d4e304ceaa0e4f5c93fe4053ad44233a2c75 (patch) | |
tree | bbfeb8167947be43580ee675016d4c781a0cadc5 /applets | |
parent | bff61989d0355ee61120ce5d0121d0c99f693569 (diff) | |
download | mate-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')
-rw-r--r-- | applets/brightness/gpm-common.c | 4 | ||||
-rw-r--r-- | applets/inhibit/gpm-common.c | 4 |
2 files changed, 0 insertions, 8 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; 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; |