Merge branch 'wip/chergert/fix-action-activation-crash' into 'main'

inspector: be defensive against out parameters

See merge request GNOME/gtk!5591
This commit is contained in:
Emmanuele Bassi 2023-03-04 15:16:59 +00:00
commit c6ff7400a8

View File

@ -185,7 +185,7 @@ action_state_changed_cb (GActionGroup *group,
static void
update_widgets (GtkInspectorActionEditor *r)
{
GVariant *state;
GVariant *state = NULL;
if (G_IS_ACTION_GROUP (r->owner))
g_action_group_query_action (G_ACTION_GROUP (r->owner), r->name,