From 9f3927c460cbc4d50eae2b78826cc5347cb37c16 Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Thu, 7 May 2009 19:14:48 +0100 Subject: [PATCH] [stage] Chain up to the correct vfunc when picking The stage is chaining up to the ClutterGroup::paint instead of the ClutterGroup::pick method. This works anyway because we detect the stage by default, but it's not a reliable solution in case we decide to change the picking further on. --- clutter/clutter-stage.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/clutter/clutter-stage.c b/clutter/clutter-stage.c index d34f43f6a..8780b2d67 100644 --- a/clutter/clutter-stage.c +++ b/clutter/clutter-stage.c @@ -266,7 +266,7 @@ clutter_stage_pick (ClutterActor *self, * Chain up to the groups paint howerer so our children get picked * - clutter_group_pick */ - CLUTTER_ACTOR_CLASS (clutter_stage_parent_class)->paint (self); + CLUTTER_ACTOR_CLASS (clutter_stage_parent_class)->pick (self, color); } static void @@ -358,7 +358,6 @@ redraw_update_idle (gpointer user_data) ClutterStage *stage = user_data; ClutterStagePrivate *priv = stage->priv; ClutterMasterClock *master_clock; - gboolean retval = FALSE; /* before we redraw we advance the master clock of one tick; this means * that all the timelines that need advancing will be advanced by one