From 3aa9cc4480a6816b04d58835b4f598ee72eefbfb Mon Sep 17 00:00:00 2001 From: raveit65 Date: Fri, 28 Jul 2017 17:06:47 +0200 Subject: gdict-applet: don't use deprecated gtk_show_uri --- mate-dictionary/src/gdict-applet.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'mate-dictionary') diff --git a/mate-dictionary/src/gdict-applet.c b/mate-dictionary/src/gdict-applet.c index cd6133ef..3d4100c2 100644 --- a/mate-dictionary/src/gdict-applet.c +++ b/mate-dictionary/src/gdict-applet.c @@ -717,7 +717,11 @@ gdict_applet_cmd_help (GtkAction *action, { GError *err = NULL; +#if GTK_CHECK_VERSION (3, 22, 0) + gtk_show_uri_on_window (NULL, +#else gtk_show_uri (gtk_widget_get_screen (GTK_WIDGET (applet)), +#endif "help:mate-dictionary/mate-dictionary-applet", gtk_get_current_event_time (), &err); -- cgit v1.2.1