[gupnp] vapi: Revert API change.



commit 9bdf21ac1fd0fcc21aa6ff443a3c45e76a586afc
Author: Jens Georg <mail jensge org>
Date:   Thu Aug 5 19:33:36 2021 +0200

    vapi: Revert API change.
    
    Delay this for 1.6 where we have to bump the API anyway

 vala/GUPnP-1.2.metadata    | 4 ++--
 vala/gupnp-1.2-custom.vala | 5 ++++-
 2 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/vala/GUPnP-1.2.metadata b/vala/GUPnP-1.2.metadata
index 247fb79..be67723 100644
--- a/vala/GUPnP-1.2.metadata
+++ b/vala/GUPnP-1.2.metadata
@@ -23,5 +23,5 @@ ServiceProxy
     .end_action_hash skip
     .end_action_list skip
     .send_action_list skip
-WhiteList
-    .entries skip
+XMLDoc
+    .new skip
diff --git a/vala/gupnp-1.2-custom.vala b/vala/gupnp-1.2-custom.vala
index b043177..3ad9fd0 100644
--- a/vala/gupnp-1.2-custom.vala
+++ b/vala/gupnp-1.2-custom.vala
@@ -29,4 +29,7 @@ public interface GUPnP.Acl : GLib.Object {
                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)]
+    public XMLDoc (Xml.Doc xml_doc);
+}


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]