accessible = gtk_widget_get_accessible (widget);
atk_object_notify_state_change (accessible, ATK_STATE_CHECKED,
- toggle_button->active);
+ gtk_toggle_button_get_active (toggle_button));
}
static AtkStateSet*
for (i = 0; i < testcount[window]; i++)
{
nullparam = FALSE;
- if (GTK_TOGGLE_BUTTON(listoftests[window][i].toggleButton)->active)
+ if (gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (listoftests[window][i].toggleButton)))
{
num = listoftests[window][i].numParameters;
for (j = 0; j < num; j++)
AtkObject **ptr_to_obj = (AtkObject **)data;
AtkObject *obj = *ptr_to_obj;
- if (GTK_TOGGLE_BUTTON(tc->tb_others)->active)
+ if (gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (tc->tb_others)))
{
other_runtest(obj);
}
- else if (GTK_TOGGLE_BUTTON(tc->tb_ref_selection)->active)
+ else if (gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (tc->tb_ref_selection)))
{
const gchar *indexstr;
gint index;
ref_selection_runtest(obj, index);
}
- else if (GTK_TOGGLE_BUTTON(tc->tb_ref_at)->active)
+ else if (gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (tc->tb_ref_at)))
{
const gchar *rowstr, *colstr;
gint row, col;
ref_at_runtest(obj, row, col);
}
- else if (GTK_TOGGLE_BUTTON(tc->tb_ref_accessible_child)->active)
+ else if (gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (tc->tb_ref_accessible_child)))
{
const gchar *childstr;
gint childno;