[gnome-shell] st/scroll-view: Remove container foreach vfunc



commit b4128967a1f75736b11b5afc1e98e171659b8e80
Author: Marco Trevisan (Treviño) <mail 3v1n0 net>
Date:   Wed Oct 2 22:41:04 2019 +0200

    st/scroll-view: Remove container foreach vfunc
    
    foreach_with_internals vfunc is deprecated for long time and not used
    anymore, so remove it
    
    Related to: https://gitlab.gnome.org/GNOME/mutter/merge_requests/816
    
    https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/747

 src/st/st-scroll-view.c | 18 ------------------
 1 file changed, 18 deletions(-)
---
diff --git a/src/st/st-scroll-view.c b/src/st/st-scroll-view.c
index 72f8900bea..7f7d4f51c7 100644
--- a/src/st/st-scroll-view.c
+++ b/src/st/st-scroll-view.c
@@ -963,23 +963,6 @@ st_scroll_view_remove (ClutterContainer *container,
     }
 }
 
-static void
-st_scroll_view_foreach_with_internals (ClutterContainer *container,
-                                       ClutterCallback   callback,
-                                       gpointer          user_data)
-{
-  StScrollViewPrivate *priv = ST_SCROLL_VIEW (container)->priv;
-
-  if (priv->child != NULL)
-    callback (priv->child, user_data);
-
-  if (priv->hscroll != NULL)
-    callback (priv->hscroll, user_data);
-
-  if (priv->vscroll != NULL)
-    callback (priv->vscroll, user_data);
-}
-
 static void
 clutter_container_iface_init (ClutterContainerIface *iface)
 {
@@ -991,7 +974,6 @@ clutter_container_iface_init (ClutterContainerIface *iface)
 
   iface->add = st_scroll_view_add;
   iface->remove = st_scroll_view_remove;
-  iface->foreach_with_internals = st_scroll_view_foreach_with_internals;
 }
 
 StWidget *


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