summaryrefslogtreecommitdiff
path: root/accessx-status
diff options
context:
space:
mode:
Diffstat (limited to 'accessx-status')
-rw-r--r--accessx-status/applet.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/accessx-status/applet.c b/accessx-status/applet.c
index a8ed1d69..665d5499 100644
--- a/accessx-status/applet.c
+++ b/accessx-status/applet.c
@@ -153,7 +153,14 @@ static void help_cb(GtkAction* action, AccessxStatusApplet* sapplet)
GError* error = NULL;
GdkScreen* screen = gtk_widget_get_screen(GTK_WIDGET(sapplet->applet));
+#if GTK_CHECK_VERSION (3, 22, 0)
+ gtk_show_uri_on_window(NULL,
+ "help:mate-accessx-status",
+ gtk_get_current_event_time(),
+ &error);
+#else
gtk_show_uri(screen, "help:mate-accessx-status", gtk_get_current_event_time(), &error);
+#endif
if (error)
{