[vala/0.48] libgeoclue-2.0: Fix Simple.with_thresholds() contructor binding
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/0.48] libgeoclue-2.0: Fix Simple.with_thresholds() contructor binding
- Date: Thu, 17 Feb 2022 08:47:06 +0000 (UTC)
commit 0e958216c0e02fe19122bcea33c9ce2481e8deb3
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Fri Jan 14 14:37:12 2022 +0100
libgeoclue-2.0: Fix Simple.with_thresholds() contructor binding
vapi/libgeoclue-2.0.vapi | 3 ++-
vapi/metadata/Geoclue-2.0.metadata | 2 ++
2 files changed, 4 insertions(+), 1 deletion(-)
---
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"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]