[balsa/gtk4: 64/294] Various: Drop libbalsa_{radio,toggle}_activated




commit b6c6c486744da7d1590a7ae5bc54774acb1fb05d
Author: Peter Bloomfield <PeterBloomfield bellsouth net>
Date:   Sun Jul 12 15:14:58 2020 -0400

    Various: Drop libbalsa_{radio,toggle}_activated
    
    Drop some more uses of libbalsa_{radio,toggle}_activated.
    
    src/balsa-message.c
    src/sendmsg-window.c
    src/toolbar-factory.c

 src/balsa-message.c   | 6 ++----
 src/sendmsg-window.c  | 4 ++--
 src/toolbar-factory.c | 2 +-
 3 files changed, 5 insertions(+), 7 deletions(-)
---
diff --git a/src/balsa-message.c b/src/balsa-message.c
index 25e547ea5..08cca13b6 100644
--- a/src/balsa-message.c
+++ b/src/balsa-message.c
@@ -849,10 +849,8 @@ balsa_message_add_actions(BalsaMessage *balsa_message,
     static const GActionEntry entries[] = {
         {"save-selected",           save_selected_activated},
         {"save-selected-to-folder", save_selected_to_folder_activated},
-        {"toggle-all-inline",       libbalsa_toggle_activated, NULL, "false",
-                                    toggle_all_inline_change_state},
-        {"show-part",               libbalsa_radio_activated, "s", "''",
-                                    show_part_change_state},
+        {"toggle-all-inline",       NULL, NULL, "false", toggle_all_inline_change_state},
+        {"show-part",               NULL, "s", "''", show_part_change_state},
     };
 
     simple = g_simple_action_group_new();
diff --git a/src/sendmsg-window.c b/src/sendmsg-window.c
index 859250170..30898847b 100644
--- a/src/sendmsg-window.c
+++ b/src/sendmsg-window.c
@@ -1652,7 +1652,7 @@ add_attachment(BalsaSendmsg * bsmsg, const gchar *filename,
     gchar *content_desc;
     GSimpleActionGroup *simple;
     static GActionEntry attachment_entries[] = {
-        {"new-mode", libbalsa_radio_activated, "i", "1", change_attach_mode},
+        {"new-mode", NULL, "i", "1", change_attach_mode},
         {"remove", remove_attachment}
     };
     GMenu *menu;
@@ -4150,7 +4150,7 @@ create_lang_menu(GtkWidget * parent, BalsaSendmsg * bsmsg)
 {
     GSimpleActionGroup *simple;
     static const GActionEntry entries[] = {
-        {"set", libbalsa_radio_activated, "s", "''", sw_set_language_change_state}
+        {"set", NULL, "s", "''", sw_set_language_change_state}
     };
     guint i;
     GtkWidget *langs;
diff --git a/src/toolbar-factory.c b/src/toolbar-factory.c
index aed4f19ad..53a38bc48 100644
--- a/src/toolbar-factory.c
+++ b/src/toolbar-factory.c
@@ -670,7 +670,7 @@ tm_popup_context_menu_cb(GtkWidget    * toolbar,
 {
     GSimpleActionGroup *simple;
     static const GActionEntry entries[] = {
-        {"set-style", libbalsa_radio_activated, "i", "-1", tm_set_style_changed},
+        {"set-style", NULL, "i", "-1", tm_set_style_changed},
         {"customize", tm_customize_activated}
     };
     GAction *set_style_action;


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