From d91d270a760cbec24d73a49170e8d47cf4586e54 Mon Sep 17 00:00:00 2001 From: Richard Cohen Date: Tue, 31 Jan 2023 15:01:30 +0000 Subject: [PATCH] Replace deprecated (since 2.38) g_simple_action_group_lookup with g_action_map_lookup_action --- gnucash/gnome/window-reconcile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnucash/gnome/window-reconcile.c b/gnucash/gnome/window-reconcile.c index 42bbec13c8..79ec1e1e9e 100644 --- a/gnucash/gnome/window-reconcile.c +++ b/gnucash/gnome/window-reconcile.c @@ -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);