Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

updated for version 7.3.542

Problem:    Function is sometimes unused.
Solution:   Add #ifdef.
  • Loading branch information...
commit ad3036e060793623ed714e752e5797f4aa7c7a6c 1 parent 9a06d8e
Bram Moolenaar authored
Showing with 6 additions and 1 deletion.
  1. +4 −1 src/gui_gtk.c
  2. +2 −0  src/version.c
View
5 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_domain UNUSED,
/* We just want to suppress the warnings. */
/* http://bugzilla.gnome.org/show_bug.cgi?id=664587 */
}
-
+#endif
View
2  src/version.c
@@ -715,6 +715,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 542,
+/**/
541,
/**/
540,
Please sign in to comment.
Something went wrong with that request. Please try again.