summaryrefslogtreecommitdiff
path: root/src/caja-property-browser.c
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2017-07-22 17:19:34 +0200
committerraveit65 <[email protected]>2017-07-22 18:00:49 +0200
commit07a0a6ba9a536561533ac3b1b283d999f5dfd489 (patch)
tree8c00ee88698c4b0b4ad8b72202c3246ff2b65aab /src/caja-property-browser.c
parent7fd994d1573c77bdcc10e9a2c834c89a04955474 (diff)
downloadcaja-07a0a6ba9a536561533ac3b1b283d999f5dfd489.tar.bz2
caja-07a0a6ba9a536561533ac3b1b283d999f5dfd489.tar.xz
don't use deprecated gtk_show_uri
Diffstat (limited to 'src/caja-property-browser.c')
-rw-r--r--src/caja-property-browser.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/caja-property-browser.c b/src/caja-property-browser.c
index b9b4c7d4..8c4bb5f7 100644
--- a/src/caja-property-browser.c
+++ b/src/caja-property-browser.c
@@ -1654,9 +1654,15 @@ help_button_callback (GtkWidget *widget, GtkWidget *property_browser)
GError *error = NULL;
GtkWidget *dialog;
+#if GTK_CHECK_VERSION (3, 22, 0)
+ gtk_show_uri_on_window (GTK_WINDOW (property_browser),
+ "help:mate-user-guide/goscaja-50",
+ gtk_get_current_event_time (), &error);
+#else
gtk_show_uri (gtk_widget_get_screen (property_browser),
"help:mate-user-guide/goscaja-50",
gtk_get_current_event_time (), &error);
+#endif
if (error)
{