actor: Add debugging note for allocation changes

This commit is contained in:
Emmanuele Bassi 2010-10-12 14:04:05 +01:00
parent 89a389cd2b
commit 3f6b82c9c9

View File

@ -1761,6 +1761,9 @@ clutter_actor_real_allocate (ClutterActor *self,
if (x1_changed || y1_changed || x2_changed || y2_changed || flags_changed) if (x1_changed || y1_changed || x2_changed || y2_changed || flags_changed)
{ {
CLUTTER_NOTE (LAYOUT, "Allocation for '%s' changed",
get_actor_debug_name (self));
_clutter_notify_by_pspec (G_OBJECT (self), obj_props[PROP_ALLOCATION]); _clutter_notify_by_pspec (G_OBJECT (self), obj_props[PROP_ALLOCATION]);
/* we also emit the ::allocation-changed signal for people /* we also emit the ::allocation-changed signal for people