From 041de719d46ddd6fa92547f770242718291235fe Mon Sep 17 00:00:00 2001 From: raveit65 Date: Fri, 28 Jul 2017 19:03:25 +0200 Subject: accessx-status: don't use deprecated gtk_show_uri --- accessx-status/applet.c | 7 +++++++ 1 file changed, 7 insertions(+) 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) { -- cgit v1.2.1