From 505f3e519e9da5fe8bda32946109862acf1e46d0 Mon Sep 17 00:00:00 2001 From: Robert Fewell <14uBobIT@gmail.com> Date: Fri, 28 Oct 2022 16:35:25 +0100 Subject: [PATCH] Remove last bits of gtk toggle actions --- gnucash/gnome-utils/gnc-plugin.c | 2 +- gnucash/gnome-utils/gnc-plugin.h | 5 ----- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/gnucash/gnome-utils/gnc-plugin.c b/gnucash/gnome-utils/gnc-plugin.c index 58e70ebefa..71929c6c87 100644 --- a/gnucash/gnome-utils/gnc-plugin.c +++ b/gnucash/gnome-utils/gnc-plugin.c @@ -197,7 +197,7 @@ gnc_plugin_remove_from_window (GncPlugin *plugin, if (klass->actions_name && !window->just_plugin_prefs) { DEBUG ("%s: %d actions to unmerge", - klass->actions_name, (klass->n_actions + klass->n_toggle_actions)); + klass->actions_name, (klass->n_actions)); gnc_main_window_unmerge_actions (window, klass->actions_name); } LEAVE (""); diff --git a/gnucash/gnome-utils/gnc-plugin.h b/gnucash/gnome-utils/gnc-plugin.h index 8b78489c75..e9c70df5c3 100644 --- a/gnucash/gnome-utils/gnc-plugin.h +++ b/gnucash/gnome-utils/gnc-plugin.h @@ -135,11 +135,6 @@ typedef struct GtkActionEntry *actions; /** The number of actions in the actions array. */ guint n_actions; - /** An array of toggle actions that should automatically be added to - * any GnuCash "main" content window that is opened. */ - GtkToggleActionEntry *toggle_actions; - /** The number of toggle actions in the toggle actions array. */ - guint n_toggle_actions; /** The relative name of the XML file describing the * menu/toolbar action items. */ const gchar *ui_filename;