st-bin: Remove unnecessary foreach implementation

https://bugzilla.gnome.org/show_bug.cgi?id=672807
This commit is contained in:
Jasper St. Pierre 2012-03-25 09:46:44 -03:00
parent f05c649c61
commit a9a3687ea0

View File

@ -85,23 +85,11 @@ st_bin_remove (ClutterContainer *container,
st_bin_set_child (ST_BIN (container), NULL);
}
static void
st_bin_foreach (ClutterContainer *container,
ClutterCallback callback,
gpointer user_data)
{
StBinPrivate *priv = ST_BIN (container)->priv;
if (priv->child)
callback (priv->child, user_data);
}
static void
clutter_container_iface_init (ClutterContainerIface *iface)
{
iface->add = st_bin_add;
iface->remove = st_bin_remove;
iface->foreach = st_bin_foreach;
}
static void