clutter/stage: Remove ABSOLUTE_ORIGIN_CHANGED flag from debug message

The ABSOLUTE_ORIGIN_CHANGED allocation flag is going to be removed from
Clutter, so stop using it for this debug message.

https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1245
This commit is contained in:
Jonas Dreßler 2020-05-09 19:35:01 +02:00 committed by verdre
parent 7ae6e0101c
commit 04e983383f

View File

@ -651,11 +651,8 @@ clutter_stage_allocate (ClutterActor *self,
children_box.y2 = box->y2 - box->y1; children_box.y2 = box->y2 - box->y1;
CLUTTER_NOTE (LAYOUT, CLUTTER_NOTE (LAYOUT,
"Following allocation to %.2fx%.2f (absolute origin %s)", "Following allocation to %.2fx%.2f",
width, height, width, height);
(flags & CLUTTER_ABSOLUTE_ORIGIN_CHANGED)
? "changed"
: "not changed");
clutter_actor_set_allocation (self, box, flags); clutter_actor_set_allocation (self, box, flags);
@ -710,12 +707,9 @@ clutter_stage_allocate (ClutterActor *self,
CLUTTER_NOTE (LAYOUT, CLUTTER_NOTE (LAYOUT,
"Overriding original allocation of %.2fx%.2f " "Overriding original allocation of %.2fx%.2f "
"with %.2fx%.2f (absolute origin %s)", "with %.2fx%.2f",
width, height, width, height,
override.x2, override.y2, override.x2, override.y2);
(flags & CLUTTER_ABSOLUTE_ORIGIN_CHANGED)
? "changed"
: "not changed");
/* and store the overridden allocation */ /* and store the overridden allocation */
clutter_actor_set_allocation (self, &override, flags); clutter_actor_set_allocation (self, &override, flags);