Skip to content

Commit

Permalink
settings: remove inappropriate ownership annotation (#642)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
mcatanzaro committed Mar 27, 2023
1 parent 4a1ec52 commit 637a51f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Widgets/Settings.vala
Original file line number Diff line number Diff line change
Expand Up @@ -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")]
Expand Down

0 comments on commit 637a51f

Please sign in to comment.