[vala/staging: 2/2] vapi: Update GIR-based bindings
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/staging: 2/2] vapi: Update GIR-based bindings
- Date: Mon, 17 Sep 2018 12:05:37 +0000 (UTC)
commit 0e7ea430ac7874abbbc076bf7ba226351fb4580d
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Mon Sep 17 14:03:12 2018 +0200
vapi: Update GIR-based bindings
vapi/libgeoclue-2.0.vapi | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/vapi/libgeoclue-2.0.vapi b/vapi/libgeoclue-2.0.vapi
index e3fda94cd..c1c88f3af 100644
--- a/vapi/libgeoclue-2.0.vapi
+++ b/vapi/libgeoclue-2.0.vapi
@@ -60,6 +60,8 @@ namespace GClue {
public unowned GClue.LocationProxy get_location ();
[CCode (has_construct_function = false)]
public Simple.sync (string desktop_id, GClue.AccuracyLevel accuracy_level, GLib.Cancellable?
cancellable = null) throws GLib.Error;
+ [NoAccessorMethod]
+ public GClue.AccuracyLevel accuracy_level { construct; }
public GClue.ClientProxy client { get; }
[NoAccessorMethod]
public string desktop_id { construct; }
@@ -130,7 +132,7 @@ namespace GClue {
public virtual signal bool handle_add_agent (GLib.DBusMethodInvocation invocation, string
arg_id);
public virtual signal bool handle_get_client (GLib.DBusMethodInvocation invocation);
}
- [CCode (cheader_filename = "geoclue.h", cprefix = "GCLUE_ACCURACY_LEVEL_", has_type_id = false)]
+ [CCode (cheader_filename = "geoclue.h", cprefix = "GCLUE_ACCURACY_LEVEL_", type_id =
"gclue_accuracy_level_get_type ()")]
public enum AccuracyLevel {
NONE,
COUNTRY,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]