[mutter] clutter/stage: Remove ABSOLUTE_ORIGIN_CHANGED flag from debug message
- From: verdre <jonasd src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] clutter/stage: Remove ABSOLUTE_ORIGIN_CHANGED flag from debug message
- Date: Wed, 20 May 2020 13:17:53 +0000 (UTC)
commit 04e983383fb56e5de48b56f7bd5a95e4dbc31e16
Author: Jonas Dreßler <verdre v0yd nl>
Date: Sat May 9 19:35:01 2020 +0200
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 487af060ac..3d76ede0c5 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]