From 8f0a1c5bd44fc7d8d1d8dbf86e850688ce3a3da1 Mon Sep 17 00:00:00 2001 From: raveit65 Date: Fri, 28 Jul 2017 11:22:57 +0200 Subject: don't use deprecated gtk_show_uri --- mate-dictionary/src/gdict-pref-dialog.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'mate-dictionary/src/gdict-pref-dialog.c') diff --git a/mate-dictionary/src/gdict-pref-dialog.c b/mate-dictionary/src/gdict-pref-dialog.c index 1ac35cb3..006d5711 100644 --- a/mate-dictionary/src/gdict-pref-dialog.c +++ b/mate-dictionary/src/gdict-pref-dialog.c @@ -484,7 +484,11 @@ response_cb (GtkDialog *dialog, switch (response_id) { 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-preferences", gtk_get_current_event_time (), &err); if (err) -- cgit v1.2.1