summaryrefslogtreecommitdiff
path: root/logview/src/logview-window.c
diff options
context:
space:
mode:
Diffstat (limited to 'logview/src/logview-window.c')
-rw-r--r--logview/src/logview-window.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/logview/src/logview-window.c b/logview/src/logview-window.c
index d53c9577..11c4c8e6 100644
--- a/logview/src/logview-window.c
+++ b/logview/src/logview-window.c
@@ -356,7 +356,11 @@ logview_help (GtkAction *action, GtkWidget *parent_window)
{
GError *error = NULL;
+#if GTK_CHECK_VERSION (3, 22, 0)
+ gtk_show_uri_on_window (GTK_WINDOW (parent_window),
+#else
gtk_show_uri (gtk_widget_get_screen (parent_window),
+#endif
"help:mate-system-log", gtk_get_current_event_time (),
&error);