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
This commit is contained in:
parent
38ad1d7c13
commit
b4128967a1
@ -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
|
static void
|
||||||
clutter_container_iface_init (ClutterContainerIface *iface)
|
clutter_container_iface_init (ClutterContainerIface *iface)
|
||||||
{
|
{
|
||||||
@ -991,7 +974,6 @@ clutter_container_iface_init (ClutterContainerIface *iface)
|
|||||||
|
|
||||||
iface->add = st_scroll_view_add;
|
iface->add = st_scroll_view_add;
|
||||||
iface->remove = st_scroll_view_remove;
|
iface->remove = st_scroll_view_remove;
|
||||||
iface->foreach_with_internals = st_scroll_view_foreach_with_internals;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
StWidget *
|
StWidget *
|
||||||
|
Loading…
Reference in New Issue
Block a user