[balsa/gtk4: 71/289] Various: Drop libbalsa_{radio,toggle}_activated




commit 4e0a5d2703de5c74c98fb2622fc9f09e9035afde
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 f028a7733..919be7b73 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 77bcb4a00..1b0ad6d59 100644
--- a/src/sendmsg-window.c
+++ b/src/sendmsg-window.c
@@ -1649,7 +1649,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;
@@ -4147,7 +4147,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 5205f0398..4acd70334 100644
--- a/src/toolbar-factory.c
+++ b/src/toolbar-factory.c
@@ -639,7 +639,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]