From b15cb6b7e84f7b9aed81524c1df010de7bd9aaf7 Mon Sep 17 00:00:00 2001 From: lenemter Date: Sun, 30 Aug 2026 11:19:14 +0300 Subject: [PATCH] Fix compile errors with new Vala --- src/Services/Device.vala | 16 ++++++++-------- src/Services/Session.vala | 2 +- src/Services/Transfer.vala | 6 +++--- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/Services/Device.vala b/src/Services/Device.vala index bbcc0f3d..0b863bb2 100644 --- a/src/Services/Device.vala +++ b/src/Services/Device.vala @@ -25,18 +25,18 @@ public interface BluetoothIndicator.Services.Device : Object { public abstract void pair () throws Error; public abstract string[] UUIDs { owned get; } - public abstract bool blocked { owned get; set; } - public abstract bool connected { owned get; } - public abstract bool legacy_pairing { owned get; } - public abstract bool paired { owned get; } - public abstract bool trusted { owned get; set; } - public abstract int16 RSSI { owned get; } + public abstract bool blocked { get; set; } + public abstract bool connected { get; } + public abstract bool legacy_pairing { get; } + public abstract bool paired { get; } + public abstract bool trusted { get; set; } + public abstract int16 RSSI { get; } public abstract ObjectPath adapter { owned get; } public abstract string address { owned get; } public abstract string alias { owned get; set; } public abstract string icon { owned get; } public abstract string modalias { owned get; } public abstract string name { owned get; } - public abstract uint16 appearance { owned get; } - public abstract uint32 @class { owned get; } + public abstract uint16 appearance { get; } + public abstract uint32 @class { get; } } diff --git a/src/Services/Session.vala b/src/Services/Session.vala index 83737e50..60cf8f17 100644 --- a/src/Services/Session.vala +++ b/src/Services/Session.vala @@ -20,7 +20,7 @@ public interface BluetoothIndicator.Services.Obex.Session : Object { public abstract string get_capabilities () throws GLib.Error; public abstract string source { owned get; } public abstract string destination { owned get; } - public abstract uchar channel { owned get; } + public abstract uchar channel { get; } public abstract string target { owned get; } public abstract string root { owned get; } } diff --git a/src/Services/Transfer.vala b/src/Services/Transfer.vala index e00b6ac8..53d49af8 100644 --- a/src/Services/Transfer.vala +++ b/src/Services/Transfer.vala @@ -22,8 +22,8 @@ public interface BluetoothIndicator.Services.Obex.Transfer : Object { public abstract ObjectPath session { owned get; } public abstract string name { owned get; } public abstract string Type { owned get; } - public abstract uint64 time { owned get; } - public abstract uint64 size { owned get; } - public abstract uint64 transferred { owned get; } + public abstract uint64 time { get; } + public abstract uint64 size { get; } + public abstract uint64 transferred { get; } public abstract string filename { owned get; } }