[gnome-shell] windowPreview: Adapt to ClutterActor API changes
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] windowPreview: Adapt to ClutterActor API changes
- Date: Tue, 7 Jul 2020 16:58:02 +0000 (UTC)
commit 06df79286d987b4ff515fdefb3b877a98525876e
Author: Jonas Dreßler <verdre v0yd nl>
Date: Fri Jun 19 14:13:12 2020 +0200
windowPreview: Adapt to ClutterActor API changes
The API of clutter_actor_allocate_preferred_size() changed with
https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1310, so adapt to
this change and pass the origin to the function.
https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1322
js/ui/windowPreview.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/js/ui/windowPreview.js b/js/ui/windowPreview.js
index 48d42c87d3..5630ba5e31 100644
--- a/js/ui/windowPreview.js
+++ b/js/ui/windowPreview.js
@@ -97,7 +97,7 @@ var WindowPreviewLayout = GObject.registerClass({
child.allocate(childBox);
} else {
- child.allocate_preferred_size();
+ child.allocate_preferred_size(0, 0);
}
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]