]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
updated for version 7.3.542 v7.3.542
authorBram Moolenaar <Bram@vim.org>
Wed, 6 Jun 2012 14:14:40 +0000 (16:14 +0200)
committerBram Moolenaar <Bram@vim.org>
Wed, 6 Jun 2012 14:14:40 +0000 (16:14 +0200)
Problem:    Function is sometimes unused.
Solution:   Add #ifdef.

src/gui_gtk.c
src/version.c

index eecd87b7ec3048d998f253769a37ed5c5df45584..5266dd7cef428a9e528d50715458d135c8cad367 100644 (file)
@@ -90,11 +90,13 @@ typedef int GtkWidget;
 static void entry_activate_cb(GtkWidget *widget, gpointer data);
 static void entry_changed_cb(GtkWidget *entry, GtkWidget *dialog);
 static void find_replace_cb(GtkWidget *widget, gpointer data);
+#if defined(FEAT_BROWSE) || defined(PROTO)
 static void recent_func_log_func(
        const gchar *log_domain,
        GLogLevelFlags log_level,
        const gchar *message,
        gpointer user_data);
+#endif
 
 #if defined(FEAT_TOOLBAR)
 /*
@@ -1896,6 +1898,7 @@ ex_helpfind(eap)
     do_cmdline_cmd((char_u *)"emenu ToolBar.FindHelp");
 }
 
+#if defined(FEAT_BROWSE) || defined(PROTO)
     static void
 recent_func_log_func(const gchar *log_domain UNUSED,
                     GLogLevelFlags log_level UNUSED,
@@ -1905,4 +1908,4 @@ recent_func_log_func(const gchar *log_domain UNUSED,
     /* We just want to suppress the warnings. */
     /* http://bugzilla.gnome.org/show_bug.cgi?id=664587 */
 }
-
+#endif
index a7e5445aba7eac1a690f4d71979060b57acd4628..73bf3eed409cb6486ebdd5650530a2fd8e91e3a4 100644 (file)
@@ -714,6 +714,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    542,
 /**/
     541,
 /**/