a11y: Fix leaking of state sets
This commit is contained in:
@ -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_FOCUSED);
|
||||||
atk_state_set_remove_state (state_set, ATK_STATE_SHOWING);
|
atk_state_set_remove_state (state_set, ATK_STATE_SHOWING);
|
||||||
}
|
}
|
||||||
|
g_object_unref (parent_state_set);
|
||||||
}
|
}
|
||||||
|
|
||||||
return state_set;
|
return state_set;
|
||||||
|
|||||||
Reference in New Issue
Block a user