summaryrefslogtreecommitdiff
path: root/mate-dictionary/src/gdict-source-dialog.c
diff options
context:
space:
mode:
Diffstat (limited to 'mate-dictionary/src/gdict-source-dialog.c')
-rw-r--r--mate-dictionary/src/gdict-source-dialog.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/mate-dictionary/src/gdict-source-dialog.c b/mate-dictionary/src/gdict-source-dialog.c
index 502f1578..589ae962 100644
--- a/mate-dictionary/src/gdict-source-dialog.c
+++ b/mate-dictionary/src/gdict-source-dialog.c
@@ -469,7 +469,11 @@ gdict_source_dialog_response_cb (GtkDialog *dialog,
build_new_source (GDICT_SOURCE_DIALOG (dialog));
break;
case GTK_RESPONSE_HELP:
+#if GTK_CHECK_VERSION (3, 22, 0)
+ gtk_show_uri_on_window (GTK_WINDOW (dialog),
+#else
gtk_show_uri (gtk_widget_get_screen (GTK_WIDGET (dialog)),
+#endif
"help:mate-dictionary/mate-dictionary-add-source",
gtk_get_current_event_time (), &err);
if (err)