[balsa] fix "defined but not used" build errors with enable-touch-eui



commit 14f6b6cc9eaad1d0917c18f4434845c414a87a01
Author: Carlos Morgado <chbm gnome org>
Date:   Sun Jan 17 19:00:08 2010 +0000

    fix "defined but not used" build errors with enable-touch-eui

 src/main-window.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/main-window.c b/src/main-window.c
index b47ddee..2006da6 100644
--- a/src/main-window.c
+++ b/src/main-window.c
@@ -247,9 +247,11 @@ static void bw_set_sort_menu(BalsaWindow *window,
 #endif /* ENABLE_TOUCH_UI */
 static void bw_hide_changed_cb         (GtkToggleAction * action, gpointer data);
 static void bw_wrap_message_cb         (GtkToggleAction * action, gpointer data);
+#if !defined(ENABLE_TOUCH_UI)
 static void bw_show_toolbar_cb         (GtkToggleAction * action, gpointer data);
 static void bw_show_statusbar_cb       (GtkToggleAction * action, gpointer data);
 static void bw_show_sos_bar_cb         (GtkToggleAction * action, gpointer data);
+#endif /* ENABLE_TOUCH_UI */
 static void bw_show_all_headers_tool_cb(GtkToggleAction * action, gpointer data);
 static void bw_show_preview_pane_cb    (GtkToggleAction * action, gpointer data);
 static void bw_reset_show_all_headers(BalsaWindow * window);
@@ -3995,6 +3997,7 @@ bw_wrap_message_cb(GtkToggleAction * action, gpointer data)
     refresh_preferences_manager();
 }
 
+#if !defined(ENABLE_TOUCH_UI) 
 static void
 bw_show_helper(GtkToggleAction * action, gboolean * active,
                GtkWidget * widget)
@@ -4025,6 +4028,7 @@ bw_show_sos_bar_cb(GtkToggleAction * action, gpointer data)
     bw_show_helper(action, &balsa_app.show_sos_bar,
                    BALSA_WINDOW(data)->sos_bar);
 }
+#endif
 
 /*
  * Callback for the "activate" signal of the View menu's header options.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]