[vala] bindings: Update GIR-based bindings
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] bindings: Update GIR-based bindings
- Date: Mon, 8 Dec 2014 22:31:24 +0000 (UTC)
commit 89d83c08831504703f697bcb1e8c5418d9bfe91a
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Mon Dec 8 23:30:54 2014 +0100
bindings: Update GIR-based bindings
vapi/atk.vapi | 1 +
vapi/geocode-glib-1.0.vapi | 10 ++++++++++
vapi/gio-2.0.vapi | 13 ++++++++++++-
3 files changed, 23 insertions(+), 1 deletions(-)
---
diff --git a/vapi/atk.vapi b/vapi/atk.vapi
index 759e867..149dc55 100644
--- a/vapi/atk.vapi
+++ b/vapi/atk.vapi
@@ -795,6 +795,7 @@ namespace Atk {
CHECKABLE,
HAS_POPUP,
HAS_TOOLTIP,
+ READ_ONLY,
LAST_DEFINED;
[CCode (cheader_filename = "atk/atk.h")]
public static Atk.StateType for_name (string name);
diff --git a/vapi/geocode-glib-1.0.vapi b/vapi/geocode-glib-1.0.vapi
index cba4d1b..ba7e2d7 100644
--- a/vapi/geocode-glib-1.0.vapi
+++ b/vapi/geocode-glib-1.0.vapi
@@ -94,6 +94,7 @@ namespace Geocode {
public unowned Geocode.Location get_location ();
public unowned string get_name ();
public unowned string get_osm_id ();
+ public Geocode.PlaceOsmType get_osm_type ();
public Geocode.PlaceType get_place_type ();
public unowned string get_postal_code ();
public unowned string get_state ();
@@ -130,6 +131,8 @@ namespace Geocode {
public string name { get; set; }
[NoAccessorMethod]
public string osm_id { owned get; set; }
+ [NoAccessorMethod]
+ public Geocode.PlaceOsmType osm_type { get; set; }
public Geocode.PlaceType place_type { get; construct; }
public string postal_code { get; set; }
public string state { get; set; }
@@ -154,6 +157,13 @@ namespace Geocode {
public enum LocationURIScheme {
GEO
}
+ [CCode (cheader_filename = "geocode-glib/geocode-glib.h", cprefix = "GEOCODE_PLACE_OSM_TYPE_",
type_id = "geocode_place_osm_type_get_type ()")]
+ public enum PlaceOsmType {
+ UNKNOWN,
+ NODE,
+ RELATION,
+ WAY
+ }
[CCode (cheader_filename = "geocode-glib/geocode-glib.h", cprefix = "GEOCODE_PLACE_TYPE_", type_id =
"geocode_place_type_get_type ()")]
public enum PlaceType {
UNKNOWN,
diff --git a/vapi/gio-2.0.vapi b/vapi/gio-2.0.vapi
index 73e2ff5..57769a9 100644
--- a/vapi/gio-2.0.vapi
+++ b/vapi/gio-2.0.vapi
@@ -2780,9 +2780,12 @@ namespace GLib {
public interface NetworkMonitor : GLib.Initable, GLib.Object {
public abstract bool can_reach (GLib.SocketConnectable connectable, GLib.Cancellable?
cancellable = null) throws GLib.Error;
public abstract async bool can_reach_async (GLib.SocketConnectable connectable,
GLib.Cancellable? cancellable = null) throws GLib.Error;
+ public GLib.NetworkConnectivity get_connectivity ();
public static unowned GLib.NetworkMonitor get_default ();
public bool get_network_available ();
[NoAccessorMethod]
+ public abstract GLib.NetworkConnectivity connectivity { get; }
+ [NoAccessorMethod]
public abstract bool network_available { get; }
public virtual signal void network_changed (bool available);
}
@@ -3303,6 +3306,13 @@ namespace GLib {
NONE,
FORCE
}
+ [CCode (cheader_filename = "gio/gio.h", cprefix = "G_NETWORK_CONNECTIVITY_", type_id =
"g_network_connectivity_get_type ()")]
+ public enum NetworkConnectivity {
+ LOCAL,
+ LIMITED,
+ PORTAL,
+ FULL
+ }
[CCode (cheader_filename = "gio/gio.h", cprefix = "G_NOTIFICATION_PRIORITY_", type_id =
"g_notification_priority_get_type ()")]
public enum NotificationPriority {
NORMAL,
@@ -3592,7 +3602,8 @@ namespace GLib {
PROXY_NEED_AUTH,
PROXY_NOT_ALLOWED,
BROKEN_PIPE,
- CONNECTION_CLOSED;
+ CONNECTION_CLOSED,
+ NOT_CONNECTED;
[CCode (cheader_filename = "gio/gio.h")]
public static unowned GLib.IOError from_errno (int err_no);
[CCode (cheader_filename = "gio/gio.h")]
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]