]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gio-2.0: Fix binding of Resolver.lookup_service*()
authorRico Tzschichholz <ricotz@ubuntu.com>
Tue, 20 Oct 2020 11:38:05 +0000 (13:38 +0200)
committerRico Tzschichholz <ricotz@ubuntu.com>
Sun, 3 Jan 2021 11:49:56 +0000 (12:49 +0100)
vapi/gio-2.0.vapi
vapi/metadata/Gio-2.0.metadata

index 07680ac83bdcda2a0479f16a668c6dbe2361a36d..59efc78e5e59799e7cb0a37432f1b14c731a8fe2 100644 (file)
@@ -2051,9 +2051,15 @@ namespace GLib {
                [Version (since = "2.34")]
                public virtual async GLib.List<GLib.Variant> lookup_records_async (string rrname, GLib.ResolverRecordType record_type, GLib.Cancellable? cancellable = null) throws GLib.Error;
                [Version (since = "2.22")]
-               public virtual GLib.List<GLib.SrvTarget> lookup_service (string service, string protocol, string domain, GLib.Cancellable? cancellable = null) throws GLib.Error;
-               [CCode (finish_vfunc_name = "lookup_service_finish", vfunc_name = "lookup_service_async")]
-               public virtual async GLib.List<GLib.SrvTarget> lookup_service_async (string rrname, GLib.Cancellable? cancellable = null) throws GLib.Error;
+               public GLib.List<GLib.SrvTarget> lookup_service (string service, string protocol, string domain, GLib.Cancellable? cancellable = null) throws GLib.Error;
+               [Version (since = "2.22")]
+               public async GLib.List<GLib.SrvTarget> lookup_service_async (string service, string protocol, string domain, GLib.Cancellable? cancellable = null) throws GLib.Error;
+               [CCode (vfunc_name = "lookup_service")]
+               [NoWrapper]
+               public virtual GLib.List<GLib.SrvTarget> lookup_service_fn (string rrname, GLib.Cancellable? cancellable = null) throws GLib.Error;
+               [CCode (finish_name = "g_resolver_lookup_service_finish", vfunc_name = "lookup_service_async")]
+               [NoWrapper]
+               public virtual async GLib.List<GLib.SrvTarget> lookup_service_fn_async (string rrname, GLib.Cancellable? cancellable = null) throws GLib.Error;
                [Version (since = "2.22")]
                public void set_default ();
                public virtual signal void reload ();
index 799c9cb370e1b3597e1fd57723367bab52fc6793..b91beb297ba468409c0e5f9ac765768c823bc4d4 100644 (file)
@@ -198,8 +198,8 @@ PropertyAction
   .parameter_type skip
   .state_type skip
 Resolver
-  .lookup_service#method virtual
-  .lookup_service_async#virtual_method vfunc_name="lookup_service_async" finish_vfunc_name="lookup_service_finish"
+  .lookup_service#virtual_method skip=false name="lookup_service_fn" type="GLib.List<GLib.SrvTarget>"
+  .lookup_service_async#virtual_method skip=false name="lookup_service_fn_async" finish_name="g_resolver_lookup_service_finish"
 Settings
   .get skip=false sentinel=""
   .set skip=false sentinel=""