a11y: Fix leaking of state sets

This commit is contained in:
Benjamin Otte 2011-07-06 20:48:35 +02:00
parent 7b2f8949dd
commit d5dad3422b

View File

@ -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;