255 AtkStateSet *state_set;
256 AtkStateSet *copy_set;
257 AtkStateSet *page_accessible_state_set;
264 state_set = ATK_OBJECT_CLASS (ev_form_field_accessible_parent_class)->ref_state_set (atk_object);
265 atk_state_set_clear_states (state_set);
267 page_accessible_state_set = atk_object_ref_state_set (ATK_OBJECT (self->priv->page));
268 copy_set = atk_state_set_or_sets (state_set, page_accessible_state_set);
273 atk_state_set_remove_state (copy_set, ATK_STATE_SHOWING);
279 if (field_button->
state) {
281 atk_state_set_add_state (copy_set, ATK_STATE_PRESSED);
283 atk_state_set_add_state (copy_set, ATK_STATE_CHECKED);
291 atk_state_set_add_state (copy_set, ATK_STATE_EDITABLE);
293 atk_state_set_add_state (copy_set, ATK_STATE_MULTISELECTABLE);
300 atk_state_set_add_state (copy_set, ATK_STATE_EDITABLE);
302 atk_state_set_add_state (copy_set, ATK_STATE_SINGLE_LINE);
304 atk_state_set_add_state (copy_set, ATK_STATE_MULTI_LINE);
307 g_object_unref (state_set);
308 g_object_unref (page_accessible_state_set);