From 04e983383fb56e5de48b56f7bd5a95e4dbc31e16 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20Dre=C3=9Fler?= Date: Sat, 9 May 2020 19:35:01 +0200 Subject: [PATCH] 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 --- clutter/clutter/clutter-stage.c | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/clutter/clutter/clutter-stage.c b/clutter/clutter/clutter-stage.c index 487af060a..3d76ede0c 100644 --- a/clutter/clutter/clutter-stage.c +++ b/clutter/clutter/clutter-stage.c @@ -651,11 +651,8 @@ clutter_stage_allocate (ClutterActor *self, children_box.y2 = box->y2 - box->y1; CLUTTER_NOTE (LAYOUT, - "Following allocation to %.2fx%.2f (absolute origin %s)", - width, height, - (flags & CLUTTER_ABSOLUTE_ORIGIN_CHANGED) - ? "changed" - : "not changed"); + "Following allocation to %.2fx%.2f", + width, height); clutter_actor_set_allocation (self, box, flags); @@ -710,12 +707,9 @@ clutter_stage_allocate (ClutterActor *self, CLUTTER_NOTE (LAYOUT, "Overriding original allocation of %.2fx%.2f " - "with %.2fx%.2f (absolute origin %s)", + "with %.2fx%.2f", width, height, - override.x2, override.y2, - (flags & CLUTTER_ABSOLUTE_ORIGIN_CHANGED) - ? "changed" - : "not changed"); + override.x2, override.y2); /* and store the overridden allocation */ clutter_actor_set_allocation (self, &override, flags);