summaryrefslogtreecommitdiff
path: root/src/fr-window.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fr-window.c')
-rw-r--r--src/fr-window.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/fr-window.c b/src/fr-window.c
index e453d35..0dbd135 100644
--- a/src/fr-window.c
+++ b/src/fr-window.c
@@ -2253,8 +2253,13 @@ open_folder (GtkWindow *parent,
if (folder == NULL)
return;
+#if GTK_CHECK_VERSION (3, 22, 0)
+ if (! gtk_show_uri_on_window (parent, folder, GDK_CURRENT_TIME, &error)) {
+ GtkWidget *d;
+#else
if (! gtk_show_uri (gtk_window_get_screen (parent), folder, GDK_CURRENT_TIME, &error)) {
GtkWidget *d;
+#endif
char *utf8_name;
char *message;