summaryrefslogtreecommitdiff
path: root/src/gui_gtk.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui_gtk.c')
-rw-r--r--src/gui_gtk.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui_gtk.c b/src/gui_gtk.c
index 4e4c1d97f..e97dc4f4d 100644
--- a/src/gui_gtk.c
+++ b/src/gui_gtk.c
@@ -1348,6 +1348,8 @@ gui_mch_browse(int saving,
return vim_strsave(p);
}
+#if defined(HAVE_GTK2) || defined(PROTO)
+
/*
* Put up a directory selector
* Returns the selected name in allocated memory, or NULL for Cancel.
@@ -1416,6 +1418,7 @@ gui_mch_browsedir(
return gui_mch_browse(0, title, NULL, NULL, initdir, NULL);
# endif
}
+#endif
#endif /* FEAT_BROWSE */