From 1ed9943fe4966826c23fb96850496ff29db090d8 Mon Sep 17 00:00:00 2001 From: raveit65 Date: Sun, 23 Jul 2017 10:10:27 +0200 Subject: don't use deprecated gtk_show_uri --- src/eom-util.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') diff --git a/src/eom-util.c b/src/eom-util.c index e0577ff..a20ea34 100644 --- a/src/eom-util.c +++ b/src/eom-util.c @@ -53,7 +53,11 @@ eom_util_show_help (const gchar *section, GtkWindow *parent) if (section) uri = g_strdup_printf ("help:eom/%s", section); +#if GTK_CHECK_VERSION (3, 22, 0) + gtk_show_uri_on_window (parent, ((uri != NULL) ? uri : "help:eom"), +#else gtk_show_uri (NULL, ((uri != NULL) ? uri : "help:eom"), +#endif gtk_get_current_event_time (), &error); g_free (uri); -- cgit v1.2.1