summaryrefslogtreecommitdiff
path: root/src/gui_gtk.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2012-10-18 05:18:32 +0200
committerBram Moolenaar <Bram@vim.org>2012-10-18 05:18:32 +0200
commit205f9f5e2d4b25a94072644bbcdd2c8b20ad7b80 (patch)
tree1f4a189436d9c7478aa1803a6a0f4a7be4e6d679 /src/gui_gtk.c
parentb88adbf844612281d3ed11166bbf03368f7ed704 (diff)
downloadvim-git-205f9f5e2d4b25a94072644bbcdd2c8b20ad7b80.tar.gz
updated for version 7.3.692v7.3.692
Problem: Can't build GTK version with GTK 2.0. Solution: Put GtkFileFilter declaration in the right place. (Yegappan Lakshmanan)
Diffstat (limited to 'src/gui_gtk.c')
-rw-r--r--src/gui_gtk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui_gtk.c b/src/gui_gtk.c
index 4b63d513d..ba2d23d1e 100644
--- a/src/gui_gtk.c
+++ b/src/gui_gtk.c
@@ -845,7 +845,6 @@ gui_mch_browse(int saving UNUSED,
char_u dirbuf[MAXPATHL];
guint log_handler;
const gchar *domain = "Gtk";
- GtkFileFilter *gfilter;
title = CONVERT_TO_UTF8(title);
@@ -883,6 +882,7 @@ gui_mch_browse(int saving UNUSED,
int i = 0;
char_u *patt;
char_u *p = filter;
+ GtkFileFilter *gfilter;
gfilter = gtk_file_filter_new();
patt = alloc(STRLEN(filter));