summaryrefslogtreecommitdiffstats
path: root/src/gui_gtk.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui_gtk.c')
-rw-r--r--src/gui_gtk.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gui_gtk.c b/src/gui_gtk.c
index c097545e4d..cdfe78bdb3 100644
--- a/src/gui_gtk.c
+++ b/src/gui_gtk.c
@@ -1195,7 +1195,10 @@ gui_mch_destroy_scrollbar(scrollbar_T *sb)
* Implementation of the file selector related stuff
*/
#if defined(HAVE_GTK2) && GTK_CHECK_VERSION(2,4,0)
-# define USE_FILE_CHOOSER
+/* This has been disabled, because the GTK library rewrites
+ * ~/.recently-used.xbel every time the main loop is quit. For Vim that means
+ * on just about any event. */
+/* # define USE_FILE_CHOOSER */
#endif
#ifndef USE_FILE_CHOOSER