summaryrefslogtreecommitdiff
path: root/src/gpm-common.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpm-common.c')
-rw-r--r--src/gpm-common.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gpm-common.c b/src/gpm-common.c
index c0c3c94..8b7834e 100644
--- a/src/gpm-common.c
+++ b/src/gpm-common.c
@@ -145,7 +145,11 @@ 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;