1 Star 0 Fork 2

chengchaonan_1/gala

forked from src-oepkgs/gala 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
0006-fix-for-new-Clutter.Actor.allocate_preferred_size-me.patch 907 Bytes
一键复制 编辑 原始数据 按行查看 历史
张一诺 提交于 2022-11-30 08:39 . 3.3.2
From 190bdc6a5ab7216dad1e04445c792c6597131835 Mon Sep 17 00:00:00 2001
From: Fabio Valentini <decathorpe@gmail.com>
Date: Sat, 29 Aug 2020 20:31:11 +0200
Subject: [PATCH 6/8] fix for new Clutter.Actor.allocate_preferred_size()
method signature
---
src/Widgets/WindowClone.vala | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/Widgets/WindowClone.vala b/src/Widgets/WindowClone.vala
index 770275d..1c38bac 100644
--- a/src/Widgets/WindowClone.vala
+++ b/src/Widgets/WindowClone.vala
@@ -352,7 +352,7 @@ namespace Gala {
foreach (var child in get_children ()) {
if (child != clone && child != active_shape)
#if HAS_MUTTER338
- child.allocate_preferred_size ();
+ child.allocate_preferred_size (child.get_x (), child.get_x ());
#else
child.allocate_preferred_size (flags);
#endif
--
2.26.2
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/chengchaonan-one/gala.git
git@gitee.com:chengchaonan-one/gala.git
chengchaonan-one
gala
gala
openEuler-22.03-LTS

搜索帮助

0d507c66 1850385 C8b1a773 1850385