Remove gail_widget_new()
The function was unused and unnecessary.
This commit is contained in:
@@ -188,22 +188,6 @@ gail_widget_real_initialize (AtkObject *obj,
|
|||||||
obj->role = ATK_ROLE_UNKNOWN;
|
obj->role = ATK_ROLE_UNKNOWN;
|
||||||
}
|
}
|
||||||
|
|
||||||
AtkObject*
|
|
||||||
gail_widget_new (GtkWidget *widget)
|
|
||||||
{
|
|
||||||
GObject *object;
|
|
||||||
AtkObject *accessible;
|
|
||||||
|
|
||||||
g_return_val_if_fail (GTK_IS_WIDGET (widget), NULL);
|
|
||||||
|
|
||||||
object = g_object_new (GAIL_TYPE_WIDGET, NULL);
|
|
||||||
|
|
||||||
accessible = ATK_OBJECT (object);
|
|
||||||
atk_object_initialize (accessible, widget);
|
|
||||||
|
|
||||||
return accessible;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This function specifies the function to be called when the widget
|
* This function specifies the function to be called when the widget
|
||||||
* is destroyed
|
* is destroyed
|
||||||
|
|||||||
@@ -58,8 +58,6 @@ struct _GailWidgetClass
|
|||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
AtkObject* gail_widget_new (GtkWidget *widget);
|
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
#endif /* __GAIL_WIDGET_H__ */
|
#endif /* __GAIL_WIDGET_H__ */
|
||||||
|
|||||||
Reference in New Issue
Block a user