summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2017-07-28 17:06:47 +0200
committerraveit65 <[email protected]>2017-07-29 14:58:42 +0200
commit3aa9cc4480a6816b04d58835b4f598ee72eefbfb (patch)
treeb3fed0311aa98b646a242a6bf816ed40e9a9575d
parent8f0a1c5bd44fc7d8d1d8dbf86e850688ce3a3da1 (diff)
downloadmate-utils-3aa9cc4480a6816b04d58835b4f598ee72eefbfb.tar.bz2
mate-utils-3aa9cc4480a6816b04d58835b4f598ee72eefbfb.tar.xz
gdict-applet: don't use deprecated gtk_show_uri
-rw-r--r--mate-dictionary/src/gdict-applet.c4
1 files changed, 4 insertions, 0 deletions
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);