summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/eom-util.c4
1 files changed, 4 insertions, 0 deletions
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);