clutter: Remove unused deprecated clutter_container_{add,remove}_valist

https://gitlab.gnome.org/GNOME/mutter/merge_requests/921
This commit is contained in:
Adam Jackson 2019-11-05 11:58:28 -05:00 committed by Georges Basile Stavracas Neto
parent 0a41f0f855
commit 3e9f8471fc
2 changed files with 0 additions and 64 deletions

View File

@ -384,33 +384,6 @@ clutter_container_add_actor (ClutterContainer *container,
container_add_actor (container, actor); container_add_actor (container, actor);
} }
/**
* clutter_container_add_valist: (skip)
* @container: a #ClutterContainer
* @first_actor: the first #ClutterActor to add
* @var_args: list of actors to add, followed by %NULL
*
* Alternative va_list version of clutter_container_add().
*
* This function will call #ClutterContainerIface.add(), which is a
* deprecated virtual function. The default implementation will
* call clutter_actor_add_child().
*
* Since: 0.4
*
* Deprecated: 1.10: Use clutter_actor_add_child() instead.
*/
void
clutter_container_add_valist (ClutterContainer *container,
ClutterActor *first_actor,
va_list var_args)
{
g_return_if_fail (CLUTTER_IS_CONTAINER (container));
g_return_if_fail (CLUTTER_IS_ACTOR (first_actor));
container_add_valist (container, first_actor, var_args);
}
/** /**
* clutter_container_remove: (skip) * clutter_container_remove: (skip)
* @container: a #ClutterContainer * @container: a #ClutterContainer
@ -474,33 +447,6 @@ clutter_container_remove_actor (ClutterContainer *container,
container_remove_actor (container, actor); container_remove_actor (container, actor);
} }
/**
* clutter_container_remove_valist: (skip)
* @container: a #ClutterContainer
* @first_actor: the first #ClutterActor to add
* @var_args: list of actors to remove, followed by %NULL
*
* Alternative va_list version of clutter_container_remove().
*
* This function will call #ClutterContainerIface.remove(), which is a
* deprecated virtual function. The default implementation will call
* clutter_actor_remove_child().
*
* Since: 0.4
*
* Deprecated: 1.10: Use clutter_actor_remove_child() instead.
*/
void
clutter_container_remove_valist (ClutterContainer *container,
ClutterActor *first_actor,
va_list var_args)
{
g_return_if_fail (CLUTTER_IS_CONTAINER (container));
g_return_if_fail (CLUTTER_IS_ACTOR (first_actor));
container_remove_valist (container, first_actor, var_args);
}
/** /**
* clutter_container_get_children: * clutter_container_get_children:
* @container: a #ClutterContainer * @container: a #ClutterContainer

View File

@ -43,11 +43,6 @@ CLUTTER_DEPRECATED_FOR(clutter_actor_add_child)
void clutter_container_add_actor (ClutterContainer *container, void clutter_container_add_actor (ClutterContainer *container,
ClutterActor *actor); ClutterActor *actor);
CLUTTER_DEPRECATED_FOR(clutter_actor_add_child)
void clutter_container_add_valist (ClutterContainer *container,
ClutterActor *first_actor,
va_list var_args);
CLUTTER_DEPRECATED_FOR(clutter_actor_remove_child) CLUTTER_DEPRECATED_FOR(clutter_actor_remove_child)
void clutter_container_remove (ClutterContainer *container, void clutter_container_remove (ClutterContainer *container,
ClutterActor *first_actor, ClutterActor *first_actor,
@ -57,11 +52,6 @@ CLUTTER_DEPRECATED_FOR(clutter_actor_remove_child)
void clutter_container_remove_actor (ClutterContainer *container, void clutter_container_remove_actor (ClutterContainer *container,
ClutterActor *actor); ClutterActor *actor);
CLUTTER_DEPRECATED_FOR(clutter_actor_remove_child)
void clutter_container_remove_valist (ClutterContainer *container,
ClutterActor *first_actor,
va_list var_args);
CLUTTER_DEPRECATED_FOR(clutter_actor_get_children) CLUTTER_DEPRECATED_FOR(clutter_actor_get_children)
GList * clutter_container_get_children (ClutterContainer *container); GList * clutter_container_get_children (ClutterContainer *container);