Remove last bits of gtk toggle actions

This commit is contained in:
Robert Fewell 2022-10-28 16:35:25 +01:00
parent 464c3340d1
commit 505f3e519e
2 changed files with 1 additions and 6 deletions

View File

@ -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 ("");

View File

@ -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;