changeset 3564:8d1b63e6d317 v7.3.542

updated for version 7.3.542 Problem: Function is sometimes unused. Solution: Add #ifdef.
author Bram Moolenaar <bram@vim.org>
date Wed, 06 Jun 2012 16:14:40 +0200
parents 3884da7c10ae
children 9119f96e7294
files src/gui_gtk.c src/version.c
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/gui_gtk.c
+++ b/src/gui_gtk.c
@@ -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_do
     /* We just want to suppress the warnings. */
     /* http://bugzilla.gnome.org/show_bug.cgi?id=664587 */
 }
-
+#endif
--- a/src/version.c
+++ b/src/version.c
@@ -715,6 +715,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    542,
+/**/
     541,
 /**/
     540,