]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
vapi: Update GIR-based bindings
authorRico Tzschichholz <ricotz@ubuntu.com>
Wed, 9 Aug 2017 23:03:00 +0000 (01:03 +0200)
committerRico Tzschichholz <ricotz@ubuntu.com>
Thu, 10 Aug 2017 06:56:12 +0000 (08:56 +0200)
vapi/gio-2.0.vapi
vapi/gstreamer-1.0.vapi
vapi/gstreamer-app-1.0.vapi
vapi/libgdata.vapi
vapi/libsoup-2.4.vapi
vapi/webkit2gtk-4.0.vapi

index 4f458ce2d943de699e3f4d5173477e51d20beda4..96b3d9b3168036e5f93c0b31ad1535d87cf911fe 100644 (file)
@@ -3919,7 +3919,8 @@ namespace GLib {
        public enum BusNameOwnerFlags {
                NONE,
                ALLOW_REPLACEMENT,
-               REPLACE
+               REPLACE,
+               DO_NOT_QUEUE
        }
        [CCode (cheader_filename = "gio/gio.h", cprefix = "G_BUS_NAME_WATCHER_FLAGS_", type_id = "g_bus_name_watcher_flags_get_type ()")]
        [Flags]
index d9ddbe9059bcabc1741ea08ae0fd2848fe24e397..92e3c897f410ddd0f69434a3513b62f9a6fa3446 100644 (file)
@@ -3945,9 +3945,6 @@ namespace Gst {
        [CCode (cheader_filename = "gst/gst.h", cname = "GST_VERSION_NANO")]
        public const int VERSION_NANO;
        [CCode (cheader_filename = "gst/gst.h")]
-       [Version (since = "1.12")]
-       public static bool calculate_linear_regression (Gst.ClockTime xy, Gst.ClockTime temp, uint n, out Gst.ClockTime m_num, out Gst.ClockTime m_denom, out Gst.ClockTime b, out Gst.ClockTime xbase, out double r_squared);
-       [CCode (cheader_filename = "gst/gst.h")]
        public static void deinit ();
        [CCode (cheader_filename = "gst/gst.h")]
        public static bool dynamic_type_register (Gst.Plugin plugin, GLib.Type type);
index d999359c80cdbdd6b2a380f66697346419e239d8..e00f042ff1eeb7a54ee061dd3c3f2db14232a0ef 100644 (file)
@@ -56,7 +56,7 @@ namespace Gst {
                        [Version (since = "1.10")]
                        public Gst.ClockTime get_duration ();
                        public bool get_emit_signals ();
-                       public void get_latency (uint64 min, uint64 max);
+                       public void get_latency (out uint64 min, out uint64 max);
                        public uint64 get_max_bytes ();
                        public int64 get_size ();
                        public Gst.App.StreamType get_stream_type ();
index 54dcfcfe578e1476088d1fb399c42df242fce90d..981ecf02c4d7fcd454a952d5f19136d86070d869 100644 (file)
@@ -801,6 +801,16 @@ namespace GData {
                [CCode (has_construct_function = false)]
                public DocumentsFolder (string? id);
        }
+       [CCode (cheader_filename = "gdata/gdata.h", type_id = "gdata_documents_metadata_get_type ()")]
+       [Version (since = "0.17.9")]
+       public class DocumentsMetadata : GData.Parsable {
+               [CCode (has_construct_function = false)]
+               protected DocumentsMetadata ();
+               public int64 get_quota_total ();
+               public int64 get_quota_used ();
+               public int64 quota_total { get; }
+               public int64 quota_used { get; }
+       }
        [CCode (cheader_filename = "gdata/gdata.h", type_id = "gdata_documents_pdf_get_type ()")]
        [Version (since = "0.13.3")]
        public class DocumentsPdf : GData.DocumentsDocument, GData.AccessHandler {
@@ -857,6 +867,10 @@ namespace GData {
                public async GData.DocumentsDocument copy_document_async (GData.DocumentsDocument document, GLib.Cancellable? cancellable) throws GLib.Error;
                [Version (since = "0.8.0")]
                public GData.DocumentsDocument finish_upload (GData.UploadStream upload_stream) throws GLib.Error;
+               [Version (since = "0.17.9")]
+               public GData.DocumentsMetadata get_metadata (GLib.Cancellable? cancellable = null) throws GLib.Error;
+               [Version (since = "0.17.9")]
+               public async GData.DocumentsMetadata get_metadata_async (GLib.Cancellable? cancellable) throws GLib.Error;
                [Version (since = "0.9.0")]
                public static unowned GData.AuthorizationDomain get_primary_authorization_domain ();
                [Version (since = "0.9.0")]
index 066d140572759e35689e59e718d2e93d37570a48..4884646a272aac0ed938bbefe0e943f2841d424d 100644 (file)
@@ -1137,6 +1137,8 @@ namespace Soup {
                public virtual signal void closing ();
                public virtual signal void error (GLib.Error error);
                public virtual signal void message (int type, GLib.Bytes message);
+               [Version (since = "2.60")]
+               public virtual signal void pong (GLib.Bytes message);
        }
        [CCode (cheader_filename = "libsoup/soup.h", has_type_id = false)]
        [Compact]
index ea112649861bda851faf4405a603afb896d719bd..a4ff618bc92c9920deb9dc2e280555401e981fec 100644 (file)
@@ -2,6 +2,25 @@
 
 [CCode (cprefix = "WebKit", gir_namespace = "WebKit2", gir_version = "4.0", lower_case_cprefix = "webkit_")]
 namespace WebKit {
+       [CCode (cheader_filename = "webkit2/webkit2.h", ref_function = "webkit_application_info_ref", type_id = "webkit_application_info_get_type ()", unref_function = "webkit_application_info_unref")]
+       [Compact]
+       public class ApplicationInfo {
+               [CCode (has_construct_function = false)]
+               [Version (since = "2.18")]
+               public ApplicationInfo ();
+               [Version (since = "2.18")]
+               public unowned string get_name ();
+               [Version (since = "2.18")]
+               public void get_version (out uint64 major, out uint64 minor, out uint64 micro);
+               [Version (since = "2.18")]
+               public unowned WebKit.ApplicationInfo @ref ();
+               [Version (since = "2.18")]
+               public void set_name (string name);
+               [Version (since = "2.18")]
+               public void set_version (uint64 major, uint64 minor, uint64 micro);
+               [Version (since = "2.18")]
+               public void unref ();
+       }
        [CCode (cheader_filename = "webkit2/webkit2.h", type_id = "webkit_authentication_request_get_type ()")]
        public class AuthenticationRequest : GLib.Object {
                [CCode (has_construct_function = false)]
@@ -34,8 +53,12 @@ namespace WebKit {
                [CCode (has_construct_function = false)]
                protected AutomationSession ();
                [Version (since = "2.18")]
+               public unowned WebKit.ApplicationInfo get_application_info ();
+               [Version (since = "2.18")]
                public unowned string get_id ();
                [Version (since = "2.18")]
+               public void set_application_info (WebKit.ApplicationInfo info);
+               [Version (since = "2.18")]
                public string id { get; construct; }
                [Version (since = "2.18")]
                public signal unowned WebKit.WebView create_web_view ();