Mercurial > vim
changeset 3871:337a4368fd2b v7.3.692
updated for version 7.3.692
Problem: Can't build GTK version with GTK 2.0.
Solution: Put GtkFileFilter declaration in the right place. (Yegappan
Lakshmanan)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Thu, 18 Oct 2012 05:18:32 +0200 |
parents | 3346d9015468 |
children | 1001f417a371 |
files | src/gui_gtk.c src/version.c |
diffstat | 2 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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));