[vala] vapi: Update GIR-based bindings



commit 1eaec152744228ed13fea24ec950c9ffcdff262b
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Mon Jul 17 18:04:33 2017 +0200

    vapi: Update GIR-based bindings

 vapi/gtk+-4.0.vapi         |    1 +
 vapi/json-glib-1.0.vapi    |    2 ++
 vapi/packagekit-glib2.vapi |    6 ++++--
 3 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/vapi/gtk+-4.0.vapi b/vapi/gtk+-4.0.vapi
index 006f18f..ad18eee 100644
--- a/vapi/gtk+-4.0.vapi
+++ b/vapi/gtk+-4.0.vapi
@@ -16634,6 +16634,7 @@ namespace Gtk {
        }
        [CCode (cheader_filename = "gtk/gtk.h", cprefix = "GTK_TEXT_WINDOW_", type_id = 
"gtk_text_window_type_get_type ()")]
        public enum TextWindowType {
+               PRIVATE,
                WIDGET,
                TEXT,
                LEFT,
diff --git a/vapi/json-glib-1.0.vapi b/vapi/json-glib-1.0.vapi
index ddc1455..38e1d6d 100644
--- a/vapi/json-glib-1.0.vapi
+++ b/vapi/json-glib-1.0.vapi
@@ -103,6 +103,8 @@ namespace Json {
                public void set_root (Json.Node node);
                public string to_data (out size_t length);
                public bool to_file (string filename) throws GLib.Error;
+               [Version (since = "1.4")]
+               public unowned GLib.StringBuilder to_gstring (GLib.StringBuilder string);
                [Version (since = "0.12")]
                public bool to_stream (GLib.OutputStream stream, GLib.Cancellable? cancellable = null) throws 
GLib.Error;
                public uint indent { get; set; }
diff --git a/vapi/packagekit-glib2.vapi b/vapi/packagekit-glib2.vapi
index 5a1de47..247db59 100644
--- a/vapi/packagekit-glib2.vapi
+++ b/vapi/packagekit-glib2.vapi
@@ -1573,7 +1573,8 @@ namespace Pk {
                UNKNOWN,
                REBOOT,
                POWER_OFF,
-               UNSET;
+               UNSET,
+               LAST;
                [Version (since = "0.9.6")]
                public static Pk.OfflineAction from_string (string action);
                [Version (since = "0.9.6")]
@@ -1801,7 +1802,8 @@ namespace Pk {
        public errordomain OfflineError {
                FAILED,
                INVALID_VALUE,
-               NO_DATA;
+               NO_DATA,
+               LAST;
                [Version (since = "0.9.6")]
                public static GLib.Quark quark ();
        }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]