summaryrefslogtreecommitdiff
path: root/plugins/filebrowser/pluma-file-browser-widget.c
diff options
context:
space:
mode:
authormonsta <[email protected]>2018-01-28 21:57:32 +0300
committerraveit65 <[email protected]>2018-01-30 15:54:42 +0100
commit34e5c2d98f8847644a3877ca2f732091661f9e6a (patch)
treec43b64949e5557b51142585d86f43d5c710e632f /plugins/filebrowser/pluma-file-browser-widget.c
parentced0b3913385748b6490a4215d7cc9a1681bca77 (diff)
downloadpluma-34e5c2d98f8847644a3877ca2f732091661f9e6a.tar.bz2
pluma-34e5c2d98f8847644a3877ca2f732091661f9e6a.tar.xz
require GTK+ 3.22 and GLib 2.50
Diffstat (limited to 'plugins/filebrowser/pluma-file-browser-widget.c')
-rw-r--r--plugins/filebrowser/pluma-file-browser-widget.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/plugins/filebrowser/pluma-file-browser-widget.c b/plugins/filebrowser/pluma-file-browser-widget.c
index 4d0ce488..46087bbf 100644
--- a/plugins/filebrowser/pluma-file-browser-widget.c
+++ b/plugins/filebrowser/pluma-file-browser-widget.c
@@ -2473,11 +2473,7 @@ directory_open (PlumaFileBrowserWidget *obj,
if (FILE_IS_DIR (flags)) {
result = TRUE;
-#if GTK_CHECK_VERSION (3, 22, 0)
if (!gtk_show_uri_on_window (NULL, uri, GDK_CURRENT_TIME, &error)) {
-#else
- if (!gtk_show_uri (gtk_widget_get_screen (GTK_WIDGET (obj)), uri, GDK_CURRENT_TIME, &error)) {
-#endif
g_signal_emit (obj, signals[ERROR], 0,
PLUMA_FILE_BROWSER_ERROR_OPEN_DIRECTORY,
error->message);