From 5cba8012073e36677a86abd9ac22a69153aa9be9 Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Mon, 19 Dec 2011 12:13:23 +0000 Subject: [PATCH] actor: Fix get_paint_volume() default implementation Providing a default get_paint_volume() that takes into account the children of an actor was a goal of the whole First Apocalypse; if we make all the containers rely on it, and yet we return a FALSE value (meaning: we don't have a valid paint volume) even when we do have it, then we are going to break the whole machinery, though. --- clutter/clutter-actor.c | 1 + 1 file changed, 1 insertion(+) diff --git a/clutter/clutter-actor.c b/clutter/clutter-actor.c index b2f92ae8e..645aaa8b6 100644 --- a/clutter/clutter-actor.c +++ b/clutter/clutter-actor.c @@ -4403,6 +4403,7 @@ clutter_actor_real_get_paint_volume (ClutterActor *self, } clutter_paint_volume_union (volume, child_volume); + res = TRUE; } return res;