From ef36d7cbccbd9225f2a16328522c1cbf3d0befd0 Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Mon, 31 Jan 2011 12:51:14 +0000 Subject: [PATCH] docs: Update the documentation for clutter_actor_unparent() Make sure that we document the semantics of unparent() and who should call it. --- clutter/clutter-actor.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/clutter/clutter-actor.c b/clutter/clutter-actor.c index 220d2d8a1..05b2f77cb 100644 --- a/clutter/clutter-actor.c +++ b/clutter/clutter-actor.c @@ -7710,9 +7710,11 @@ invalidate_queue_redraw_entry (ClutterActor *self, * * Removes the parent of @self. * - * This function should not be used in applications. It should be called by - * implementations of container actors, to dissociate a child from the - * container. + * This function should not be used in applications. + * + * This function should only be called by implementations of the + * #ClutterContainer interface, or by composite actors that do + * not implicitly create their children. * * Since: 0.1.1 */