/* atkobject.h */
-static G_CONST_RETURN gchar* gail_label_get_name (AtkObject *accessible);
+static const gchar* gail_label_get_name (AtkObject *accessible);
static AtkStateSet* gail_label_ref_state_set (AtkObject *accessible);
static AtkRelationSet* gail_label_ref_relation_set (AtkObject *accessible);
{
GtkWidget *temp_widget;
- temp_widget = GTK_BIN (list->data)->child;
+ temp_widget = gtk_bin_get_child (GTK_BIN (list->data));
if (GTK_IS_BUTTON (temp_widget))
mnemonic_widget = temp_widget;
}
return relation_set;
}
-static G_CONST_RETURN gchar*
+static const gchar*
gail_label_get_name (AtkObject *accessible)
{
- G_CONST_RETURN gchar *name;
+ const gchar *name;
g_return_val_if_fail (GAIL_IS_LABEL (accessible), NULL);