diff options
author | Marco Trevisan (Treviño) <mail@3v1n0.net> | 2019-10-02 22:41:04 +0200 |
---|---|---|
committer | Florian Müllner <florian.muellner@gmail.com> | 2019-10-14 14:57:49 +0000 |
commit | b4128967a1f75736b11b5afc1e98e171659b8e80 (patch) | |
tree | e473fef0da774100e58839ed4eac8bb4a37e2b26 | |
parent | 38ad1d7c1393ca3be7ec1b6a9b02fc6bb2a3e658 (diff) | |
download | gnome-shell-b4128967a1f75736b11b5afc1e98e171659b8e80.tar.gz |
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
-rw-r--r-- | src/st/st-scroll-view.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/src/st/st-scroll-view.c b/src/st/st-scroll-view.c index 72f8900be..7f7d4f51c 100644 --- a/src/st/st-scroll-view.c +++ b/src/st/st-scroll-view.c @@ -964,23 +964,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) { /* store a pointer to the StBin implementation of @@ -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 * |