comparison src/gui_gtk.c @ 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 982f84487daf
children 0e06193d4bd7
comparison
equal deleted inserted replaced
3563:3884da7c10ae 3564:8d1b63e6d317
88 #endif 88 #endif
89 89
90 static void entry_activate_cb(GtkWidget *widget, gpointer data); 90 static void entry_activate_cb(GtkWidget *widget, gpointer data);
91 static void entry_changed_cb(GtkWidget *entry, GtkWidget *dialog); 91 static void entry_changed_cb(GtkWidget *entry, GtkWidget *dialog);
92 static void find_replace_cb(GtkWidget *widget, gpointer data); 92 static void find_replace_cb(GtkWidget *widget, gpointer data);
93 #if defined(FEAT_BROWSE) || defined(PROTO)
93 static void recent_func_log_func( 94 static void recent_func_log_func(
94 const gchar *log_domain, 95 const gchar *log_domain,
95 GLogLevelFlags log_level, 96 GLogLevelFlags log_level,
96 const gchar *message, 97 const gchar *message,
97 gpointer user_data); 98 gpointer user_data);
99 #endif
98 100
99 #if defined(FEAT_TOOLBAR) 101 #if defined(FEAT_TOOLBAR)
100 /* 102 /*
101 * Table from BuiltIn## icon indices to GTK+ stock IDs. Order must exactly 103 * Table from BuiltIn## icon indices to GTK+ stock IDs. Order must exactly
102 * match toolbar_names[] in menu.c! All stock icons including the "vim-*" 104 * match toolbar_names[] in menu.c! All stock icons including the "vim-*"
1894 /* This will fail when menus are not loaded. Well, it's only for 1896 /* This will fail when menus are not loaded. Well, it's only for
1895 * backwards compatibility anyway. */ 1897 * backwards compatibility anyway. */
1896 do_cmdline_cmd((char_u *)"emenu ToolBar.FindHelp"); 1898 do_cmdline_cmd((char_u *)"emenu ToolBar.FindHelp");
1897 } 1899 }
1898 1900
1901 #if defined(FEAT_BROWSE) || defined(PROTO)
1899 static void 1902 static void
1900 recent_func_log_func(const gchar *log_domain UNUSED, 1903 recent_func_log_func(const gchar *log_domain UNUSED,
1901 GLogLevelFlags log_level UNUSED, 1904 GLogLevelFlags log_level UNUSED,
1902 const gchar *message UNUSED, 1905 const gchar *message UNUSED,
1903 gpointer user_data UNUSED) 1906 gpointer user_data UNUSED)
1904 { 1907 {
1905 /* We just want to suppress the warnings. */ 1908 /* We just want to suppress the warnings. */
1906 /* http://bugzilla.gnome.org/show_bug.cgi?id=664587 */ 1909 /* http://bugzilla.gnome.org/show_bug.cgi?id=664587 */
1907 } 1910 }
1908 1911 #endif