From 562b31895f1e21257a45da403b83ef81de9ae6a3 Mon Sep 17 00:00:00 2001 From: Robert Tari Date: Mon, 5 May 2025 02:06:52 +0200 Subject: src/animate-timer.vala: EasingFunc cannot be a GLib.Object property - turn it into a public variable --- src/animate-timer.vala | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/animate-timer.vala b/src/animate-timer.vala index 9f92448..4879cb0 100644 --- a/src/animate-timer.vala +++ b/src/animate-timer.vala @@ -2,6 +2,7 @@ * * Copyright (C) 2011,2012 Canonical Ltd * Copyright (C) 2015 Mike Gabriel + * Copyright (C) 2025 Robert Tari * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License version 3 as @@ -18,6 +19,7 @@ * Authors: Robert Ancell * Michael Terry * Mike Gabriel + * Robert Tari */ private class AnimateTimer : Object @@ -32,7 +34,7 @@ private class AnimateTimer : Object public const int SLOW = 1000; /* Good for animations that convey information that is only presented in the animation */ /* speed is in milliseconds */ - public unowned EasingFunc easing_func { get; private set; } + public unowned EasingFunc easing_func; public int speed { get; set; } public bool is_running { get { return timeout != 0; } } public double progress { get; private set; } -- cgit v1.2.3