summaryrefslogtreecommitdiff
path: root/src/gui_gtk.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2012-06-06 16:14:40 +0200
committerBram Moolenaar <Bram@vim.org>2012-06-06 16:14:40 +0200
commit08bc274e88b32848b592d34600d51c8784357f3e (patch)
tree9ff016d3542a79f6800502cdadaa51f9168f307e /src/gui_gtk.c
parent8134039744ffa581f7c217df58131b709317c1c8 (diff)
downloadvim-git-08bc274e88b32848b592d34600d51c8784357f3e.tar.gz
updated for version 7.3.542v7.3.542
Problem: Function is sometimes unused. Solution: Add #ifdef.
Diffstat (limited to 'src/gui_gtk.c')
-rw-r--r--src/gui_gtk.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gui_gtk.c b/src/gui_gtk.c
index eecd87b7e..5266dd7ce 100644
--- 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_domain UNUSED,
/* We just want to suppress the warnings. */
/* http://bugzilla.gnome.org/show_bug.cgi?id=664587 */
}
-
+#endif