gnome-shell-extension-backg.../0001-Make-sure-vignette-sharpness-compatibility-property-.patch
2020-02-20 14:58:10 +01:00

31 lines
1011 B
Diff

From dfd48c8eec2cc29c92c5548cf1aed6764ddce98f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Florian=20M=C3=BCllner?= <fmuellner@gnome.org>
Date: Tue, 26 Nov 2019 01:25:41 +0100
Subject: [PATCH] Make sure :vignette-sharpness compatibility property is
initialized
Otherwise the overview's attempt to animate the property will result
in warnings.
https://pagure.io/background-logo-extension/pull-request/21
---
extension.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/extension.js b/extension.js
index 540e182..4a6cc69 100644
--- a/extension.js
+++ b/extension.js
@@ -55,7 +55,7 @@ var BackgroundLogo = GObject.registerClass({
0, 1, 1),
'vignette-sharpness': GObject.ParamSpec.double(
'vignette-sharpness', 'vignette-sharpness', 'vignette-sharpness',
- GObject.ParamFlags.READWRITE,
+ GObject.ParamFlags.READWRITE | GObject.ParamFlags.CONSTRUCT,
0, 1, 0),
},
}, class BackgroundLogo extends St.Widget {
--
2.24.1