mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-29 06:51:10 +00:00
a11y: Fix leaking of state sets
This commit is contained in:
parent
7b2f8949dd
commit
d5dad3422b
@ -148,6 +148,7 @@ gtk_menu_item_accessible_ref_state_set (AtkObject *obj)
|
||||
atk_state_set_remove_state (state_set, ATK_STATE_FOCUSED);
|
||||
atk_state_set_remove_state (state_set, ATK_STATE_SHOWING);
|
||||
}
|
||||
g_object_unref (parent_state_set);
|
||||
}
|
||||
|
||||
return state_set;
|
||||
|
Loading…
Reference in New Issue
Block a user