diff options
author | Timm Bäder <mail@baedert.org> | 2016-02-01 15:25:10 +0100 |
---|---|---|
committer | Timm Bäder <mail@baedert.org> | 2016-02-04 13:32:34 +0100 |
commit | 572e9a04027e213082a5b257e5d662a5daa32667 (patch) | |
tree | 62884c1d4f399010025960fa1ae190ea94bd2ddb /gtk/gtkbox.c | |
parent | 2929621d0565d007825ba1adbe9b3d6c9ae6ce33 (diff) | |
download | gtk+-572e9a04027e213082a5b257e5d662a5daa32667.tar.gz |
Remove _gtk_box_get_children
It's doing exactly the same thing as gtk_container_get_children.
Diffstat (limited to 'gtk/gtkbox.c')
-rw-r--r-- | gtk/gtkbox.c | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/gtk/gtkbox.c b/gtk/gtkbox.c index d0e9d3dc0f..d1a6edea6c 100644 --- a/gtk/gtkbox.c +++ b/gtk/gtkbox.c @@ -2674,30 +2674,6 @@ gtk_box_forall (GtkContainer *container, } } -GList * -_gtk_box_get_children (GtkBox *box) -{ - GtkBoxPrivate *priv; - GtkBoxChild *child; - GList *children; - GList *retval = NULL; - - g_return_val_if_fail (GTK_IS_BOX (box), NULL); - - priv = box->priv; - - children = priv->children; - while (children) - { - child = children->data; - children = children->next; - - retval = g_list_prepend (retval, child->widget); - } - - return g_list_reverse (retval); -} - /** * gtk_box_set_center_widget: * @box: a #GtkBox |