summaryrefslogtreecommitdiff
path: root/mate-dictionary/src/gdict-applet.c
diff options
context:
space:
mode:
Diffstat (limited to 'mate-dictionary/src/gdict-applet.c')
-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);