mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Replace deprecated (since 2.38) g_simple_action_group_lookup
with g_action_map_lookup_action
This commit is contained in:
parent
44f4b55927
commit
d91d270a76
@ -2176,7 +2176,7 @@ recn_destroy_cb (GtkWidget *w, gpointer data)
|
||||
//Disable the actions, the handlers try to access recnData
|
||||
for (gint i = 0; i < num_actions; i++)
|
||||
{
|
||||
GAction *action = g_simple_action_group_lookup (recnData->simple_action_group, actions[i]);
|
||||
GAction *action = g_action_map_lookup_action (G_ACTION_MAP(recnData->simple_action_group), actions[i]);
|
||||
g_simple_action_set_enabled (G_SIMPLE_ACTION(action), FALSE);
|
||||
}
|
||||
g_strfreev (actions);
|
||||
|
Loading…
Reference in New Issue
Block a user