From: Rico Tzschichholz Date: Mon, 17 Jul 2017 16:04:33 +0000 (+0200) Subject: vapi: Update GIR-based bindings X-Git-Tag: 0.37.2~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1eaec152744228ed13fea24ec950c9ffcdff262b;p=thirdparty%2Fvala.git vapi: Update GIR-based bindings --- diff --git a/vapi/gtk+-4.0.vapi b/vapi/gtk+-4.0.vapi index 006f18fe4..ad18eeece 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 ddc14556c..38e1d6da9 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 5a1de47f8..247db59c8 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 (); }