summaryrefslogtreecommitdiff
path: root/applets
diff options
context:
space:
mode:
Diffstat (limited to 'applets')
-rw-r--r--applets/brightness/gpm-common.c4
-rw-r--r--applets/inhibit/gpm-common.c4
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;