atk_object_set_parent (popup, obj);
gail_combo_box->popup_set = TRUE;
}
- if (GTK_IS_COMBO_BOX_ENTRY (combo_box))
+ if (gtk_combo_box_get_has_entry (combo_box))
atk_object_set_parent (gtk_widget_get_accessible (gtk_bin_get_child (GTK_BIN (combo_box))), obj);
obj->role = ATK_ROLE_COMBO_BOX;
return 0;
n_children++;
- if (GTK_IS_COMBO_BOX_ENTRY (widget))
+ if (gtk_combo_box_get_has_entry (GTK_COMBO_BOX (widget)))
n_children ++;
return n_children;
box->popup_set = TRUE;
}
}
- else if (i == 1 && GTK_IS_COMBO_BOX_ENTRY (widget))
+ else if (i == 1 && gtk_combo_box_get_has_entry (GTK_COMBO_BOX (widget)))
{
child = gtk_widget_get_accessible (gtk_bin_get_child (GTK_BIN (widget)));
}