[debug] Show the actor name/type on queue_redraw()

This commit is contained in:
Emmanuele Bassi 2009-05-07 19:14:29 +01:00
parent 86bc31bd55
commit 533c9c5365

View File

@ -1588,6 +1588,9 @@ clutter_actor_real_queue_redraw (ClutterActor *self,
if (self->priv->queued_redraw)
return;
CLUTTER_NOTE (PAINT, "Redraw queued on '%s'",
clutter_actor_get_name (self) ? clutter_actor_get_name (self)
: G_OBJECT_TYPE_NAME (self));
self->priv->queued_redraw = TRUE;
/* notify parents, if they are all visible eventually we'll