diff options
author | Emmanuele Bassi <ebassi@gmail.com> | 2023-03-04 15:16:59 +0000 |
---|---|---|
committer | Emmanuele Bassi <ebassi@gmail.com> | 2023-03-04 15:16:59 +0000 |
commit | c6ff7400a8802d28ef6c45b7abcf517f95f0c387 (patch) | |
tree | daf4672093bbf9dea490d1b57b1b509cd8d1de6a /gtk/inspector | |
parent | 6620b7de92e1493a4027714efbb025b439283e39 (diff) | |
parent | 32cf104167cbb592b03adf9c780c74961f1d0a69 (diff) | |
download | gtk+-c6ff7400a8802d28ef6c45b7abcf517f95f0c387.tar.gz |
Merge branch 'wip/chergert/fix-action-activation-crash' into 'main'
inspector: be defensive against out parameters
See merge request GNOME/gtk!5591
Diffstat (limited to 'gtk/inspector')
-rw-r--r-- | gtk/inspector/action-editor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/inspector/action-editor.c b/gtk/inspector/action-editor.c index 052ef237b0..616a592096 100644 --- a/gtk/inspector/action-editor.c +++ b/gtk/inspector/action-editor.c @@ -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, |