From 07a0a6ba9a536561533ac3b1b283d999f5dfd489 Mon Sep 17 00:00:00 2001 From: raveit65 Date: Sat, 22 Jul 2017 17:19:34 +0200 Subject: don't use deprecated gtk_show_uri --- src/caja-file-management-properties.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/caja-file-management-properties.c') diff --git a/src/caja-file-management-properties.c b/src/caja-file-management-properties.c index e7051284..131dc880 100644 --- a/src/caja-file-management-properties.c +++ b/src/caja-file-management-properties.c @@ -222,9 +222,15 @@ preferences_show_help (GtkWindow *parent, help_string = g_strdup_printf ("help:%s/%s", helpfile, sect_id); +#if GTK_CHECK_VERSION (3, 22, 0) + gtk_show_uri_on_window (parent, + help_string, gtk_get_current_event_time (), + &error); +#else gtk_show_uri (gtk_window_get_screen (parent), help_string, gtk_get_current_event_time (), &error); +#endif g_free (help_string); if (error) -- cgit v1.2.1