mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-07 01:00:28 +00:00
Remove gail_widget_new()
The function was unused and unnecessary.
This commit is contained in:
parent
e80e585639
commit
a0790f1000
@ -188,22 +188,6 @@ gail_widget_real_initialize (AtkObject *obj,
|
||||
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
|
||||
* is destroyed
|
||||
|
@ -58,8 +58,6 @@ struct _GailWidgetClass
|
||||
|
||||
};
|
||||
|
||||
AtkObject* gail_widget_new (GtkWidget *widget);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __GAIL_WIDGET_H__ */
|
||||
|
Loading…
Reference in New Issue
Block a user