[balsa/gtk3] Deprecation cleanup
- From: Peter Bloomfield <PeterB src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [balsa/gtk3] Deprecation cleanup
- Date: Sat, 17 Aug 2013 01:04:21 +0000 (UTC)
commit e565ac53793ce95569a6a1b0f9bef21f3ceca982
Author: Peter Bloomfield <PeterBloomfield bellsouth net>
Date: Fri Aug 16 21:04:02 2013 -0400
Deprecation cleanup
* src/main-window.h:
* src/message-window.h:
* src/sendmsg-window.h:
* src/toolbar-factory.c:
* src/toolbar-factory.h:
ChangeLog | 10 ++++++++++
src/main-window.h | 1 -
src/message-window.h | 1 -
src/sendmsg-window.h | 1 -
src/toolbar-factory.c | 22 ----------------------
src/toolbar-factory.h | 6 ------
6 files changed, 10 insertions(+), 31 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 269e32a..d355735 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,15 @@
2013-08-16 Peter Bloomfield
+ Deprecation cleanup
+
+ * src/main-window.h:
+ * src/message-window.h:
+ * src/sendmsg-window.h:
+ * src/toolbar-factory.c:
+ * src/toolbar-factory.h:
+
+2013-08-16 Peter Bloomfield
+
* src/sendmsg-window.c (sw_close_activated): mark window as
being destroyed;
(sw_get_action): check for window being destroyed, and return
diff --git a/src/main-window.h b/src/main-window.h
index a0a2f0b..7119bf4 100644
--- a/src/main-window.h
+++ b/src/main-window.h
@@ -145,7 +145,6 @@ void check_new_messages_count(LibBalsaMailbox * mailbox, gboolean notify);
void empty_trash(BalsaWindow * window);
void update_view_menu(BalsaWindow * window);
BalsaToolbarModel *balsa_window_get_toolbar_model(void);
-GtkUIManager *balsa_window_ui_manager_new(BalsaWindow * window);
void balsa_window_select_all(GtkWindow * window);
gboolean balsa_window_next_unread(BalsaWindow * window);
diff --git a/src/message-window.h b/src/message-window.h
index 2b2b8ef..8ac3ba0 100644
--- a/src/message-window.h
+++ b/src/message-window.h
@@ -30,6 +30,5 @@ typedef struct _MessageWindow MessageWindow;
void message_window_new(LibBalsaMailbox * mailbox, guint msgno);
BalsaToolbarModel *message_window_get_toolbar_model(void);
-GtkUIManager *message_window_ui_manager_new(MessageWindow * mw);
#endif /* __MESSAGE_WINDOW_H__ */
diff --git a/src/sendmsg-window.h b/src/sendmsg-window.h
index 7b2cb93..bdcb4f8 100644
--- a/src/sendmsg-window.h
+++ b/src/sendmsg-window.h
@@ -146,7 +146,6 @@ extern "C" {
GArray * selected,
SendType type);
BalsaToolbarModel *sendmsg_window_get_toolbar_model(void);
- GtkUIManager *sendmsg_window_ui_manager_new(BalsaSendmsg * bsmsg);
#define SENDMSG_WINDOW_QUIT_ON_CLOSE(bsmsg) ((bsmsg)->quit_on_close=TRUE)
diff --git a/src/toolbar-factory.c b/src/toolbar-factory.c
index 3158796..8cb7982 100644
--- a/src/toolbar-factory.c
+++ b/src/toolbar-factory.c
@@ -345,28 +345,6 @@ balsa_toolbar_model_add_entries(BalsaToolbarModel * model,
}
}
-void
-balsa_toolbar_model_add_actions(BalsaToolbarModel * model,
- const GtkActionEntry * entries,
- guint n_entries)
-{
- guint i;
-
- for (i = 0; i < n_entries; i++)
- tm_add_action(model, entries[i].stock_id, entries[i].name);
-}
-
-void
-balsa_toolbar_model_add_toggle_actions(BalsaToolbarModel * model,
- const GtkToggleActionEntry *
- entries, guint n_entries)
-{
- guint i;
-
- for (i = 0; i < n_entries; i++)
- tm_add_action(model, entries[i].stock_id, entries[i].name);
-}
-
/* Return the legal icons.
*/
GHashTable *
diff --git a/src/toolbar-factory.h b/src/toolbar-factory.h
index 286626e..e3a2f9f 100644
--- a/src/toolbar-factory.h
+++ b/src/toolbar-factory.h
@@ -83,12 +83,6 @@ const gchar *balsa_toolbar_sanitize_id(const gchar * id);
/* BalsaToolbarModel */
BalsaToolbarModel *balsa_toolbar_model_new(BalsaToolbarType type,
GSList * standard);
-void balsa_toolbar_model_add_actions(BalsaToolbarModel * model,
- const GtkActionEntry * entries,
- guint n_entries);
-void balsa_toolbar_model_add_toggle_actions(BalsaToolbarModel * model,
- const GtkToggleActionEntry *
- entries, guint n_entries);
GHashTable *balsa_toolbar_model_get_legal(BalsaToolbarModel * model);
GSList *balsa_toolbar_model_get_current(BalsaToolbarModel * model);
gboolean balsa_toolbar_model_is_standard(BalsaToolbarModel * model);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]