diff options
author | Bram Moolenaar <Bram@vim.org> | 2012-06-06 16:14:40 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2012-06-06 16:14:40 +0200 |
commit | 08bc274e88b32848b592d34600d51c8784357f3e (patch) | |
tree | 9ff016d3542a79f6800502cdadaa51f9168f307e /src/gui_gtk.c | |
parent | 8134039744ffa581f7c217df58131b709317c1c8 (diff) | |
download | vim-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.c | 5 |
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 |