Remove gail_widget_new()

The function was unused and unnecessary.
This commit is contained in:
Matthias Clasen 2011-06-23 00:09:18 -04:00
parent e80e585639
commit a0790f1000
2 changed files with 0 additions and 18 deletions

View File

@ -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

View File

@ -58,8 +58,6 @@ struct _GailWidgetClass
};
AtkObject* gail_widget_new (GtkWidget *widget);
G_END_DECLS
#endif /* __GAIL_WIDGET_H__ */