[gnome-shell] st-bin: Remove unnecessary foreach implementation



commit a9a3687ea02c7af7c208f5b06df7e86d3313cc49
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Sun Mar 25 09:46:44 2012 -0300

    st-bin: Remove unnecessary foreach implementation
    
    https://bugzilla.gnome.org/show_bug.cgi?id=672807

 src/st/st-bin.c |   12 ------------
 1 files changed, 0 insertions(+), 12 deletions(-)
---
diff --git a/src/st/st-bin.c b/src/st/st-bin.c
index aad5016..71c7c3a 100644
--- a/src/st/st-bin.c
+++ b/src/st/st-bin.c
@@ -86,22 +86,10 @@ st_bin_remove (ClutterContainer *container,
 }
 
 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



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]