From: Rico Tzschichholz Date: Fri, 14 Jan 2022 13:37:12 +0000 (+0100) Subject: libgeoclue-2.0: Fix Simple.with_thresholds() contructor binding X-Git-Tag: 0.52.11~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=94e6a159f35227b539bc8e359762b72eb3e8f4dd;p=thirdparty%2Fvala.git libgeoclue-2.0: Fix Simple.with_thresholds() contructor binding --- diff --git a/vapi/libgeoclue-2.0.vapi b/vapi/libgeoclue-2.0.vapi index 38e95f19e..2fb28bb7d 100644 --- a/vapi/libgeoclue-2.0.vapi +++ b/vapi/libgeoclue-2.0.vapi @@ -60,9 +60,10 @@ namespace GClue { public async Simple (string desktop_id, GClue.AccuracyLevel accuracy_level, GLib.Cancellable? cancellable) throws GLib.Error; public unowned GClue.ClientProxy get_client (); public unowned GClue.Location get_location (); - public static async void new_with_thresholds (string desktop_id, GClue.AccuracyLevel accuracy_level, uint time_threshold, uint distance_threshold, GLib.Cancellable? cancellable); [CCode (has_construct_function = false)] public Simple.sync (string desktop_id, GClue.AccuracyLevel accuracy_level, GLib.Cancellable? cancellable = null) throws GLib.Error; + [CCode (cname = "gclue_simple_new_with_thresholds", finish_name = "gclue_simple_new_finish", has_construct_function = false)] + public async Simple.with_thresholds (string desktop_id, GClue.AccuracyLevel accuracy_level, uint time_threshold, uint distance_threshold, GLib.Cancellable? cancellable) throws GLib.Error; [CCode (has_construct_function = false)] public Simple.with_thresholds_sync (string desktop_id, GClue.AccuracyLevel accuracy_level, uint time_threshold, uint distance_threshold, GLib.Cancellable? cancellable = null) throws GLib.Error; [NoAccessorMethod] diff --git a/vapi/metadata/Geoclue-2.0.metadata b/vapi/metadata/Geoclue-2.0.metadata new file mode 100644 index 000000000..bbb932bcd --- /dev/null +++ b/vapi/metadata/Geoclue-2.0.metadata @@ -0,0 +1,2 @@ +Simple + .new_with_thresholds finish_name="gclue_simple_new_finish"