From b1d1687043c2c44124e1783cf44ff671408511ac Mon Sep 17 00:00:00 2001 From: Jens Georg Date: Tue, 4 Jan 2022 20:42:03 +0100 Subject: vapi: Drop deprecated functions --- vala/GUPnP-1.6.metadata | 4 ---- vala/gupnp-custom.vala | 15 +++------------ 2 files changed, 3 insertions(+), 16 deletions(-) diff --git a/vala/GUPnP-1.6.metadata b/vala/GUPnP-1.6.metadata index be67723..0e6a6ea 100644 --- a/vala/GUPnP-1.6.metadata +++ b/vala/GUPnP-1.6.metadata @@ -19,9 +19,5 @@ ServiceIntrospection .scpd skip ServiceProxy .add_notify skip=false - .begin_action skip=false - .end_action_hash skip - .end_action_list skip - .send_action_list skip XMLDoc .new skip diff --git a/vala/gupnp-custom.vala b/vala/gupnp-custom.vala index 3ad9fd0..cce33af 100644 --- a/vala/gupnp-custom.vala +++ b/vala/gupnp-custom.vala @@ -8,15 +8,6 @@ * SPDX-License-Identifier: LGPL-2.1-or-later */ -public class GUPnP.ServiceProxy : GUPnP.ServiceInfo { - public bool send_action (string action, ...) throws GLib.Error; - public bool end_action (GUPnP.ServiceProxyAction action, ...) throws GLib.Error; - public bool end_action_hash (GUPnP.ServiceProxyAction action, GLib.HashTable hash) throws GLib.Error; - public bool end_action_list (GUPnP.ServiceProxyAction action, GLib.List out_names, GLib.List out_types, out GLib.List out_values) throws GLib.Error; - - public bool send_action_list (string action, GLib.List in_names, GLib.List in_values, GLib.List out_names, GLib.List out_types, out GLib.List out_values) throws GLib.Error; -} - [Compact] public class GUPnP.ServiceProxyAction { [CCode (has_construct_function = false)] @@ -25,11 +16,11 @@ public class GUPnP.ServiceProxyAction { } public interface GUPnP.Acl : GLib.Object { - public abstract bool is_allowed (GUPnP.Device? device, GUPnP.Service? service, string path, string address, string? agent); - public abstract async bool is_allowed_async (GUPnP.Device? device, GUPnP.Service? service, string path, string address, string? agent, GLib.Cancellable? cancellable) throws GLib.Error; + public abstract bool is_allowed (GUPnP.Device? device, GUPnP.Service? service, string path, string address, string? agent); + public abstract async bool is_allowed_async (GUPnP.Device? device, GUPnP.Service? service, string path, string address, string? agent, GLib.Cancellable? cancellable) throws GLib.Error; } public class GUPnP.XMLDoc : GLib.Object { - [CCode (has_construct_function = false)] + [CCode (has_construct_function = false)] public XMLDoc (Xml.Doc xml_doc); } -- cgit v1.2.1