From 637a51fe8d13a986ce55b35729f19bf50117c114 Mon Sep 17 00:00:00 2001 From: Michael Catanzaro Date: Mon, 27 Mar 2023 16:20:24 -0500 Subject: [PATCH] settings: remove inappropriate ownership annotation (#642) It doesn't make sense for an int property to be owned because ints are not heap-allocated. This should fix build with latest vala. Fixes #641 --- lib/Widgets/Settings.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Widgets/Settings.vala b/lib/Widgets/Settings.vala index 464d2a4de..51e8c1fe5 100644 --- a/lib/Widgets/Settings.vala +++ b/lib/Widgets/Settings.vala @@ -6,7 +6,7 @@ namespace Granite { [DBus (name = "io.elementary.pantheon.AccountsService")] private interface Pantheon.AccountsService : Object { - public abstract int prefers_color_scheme { owned get; set; } + public abstract int prefers_color_scheme { get; set; } } [DBus (name = "org.freedesktop.Accounts")]