]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
vapi: Update GIR-based bindings
authorRico Tzschichholz <ricotz@ubuntu.com>
Sun, 31 Jan 2016 20:42:43 +0000 (21:42 +0100)
committerRico Tzschichholz <ricotz@ubuntu.com>
Sun, 31 Jan 2016 20:42:43 +0000 (21:42 +0100)
vapi/gstreamer-1.0.vapi
vapi/gstreamer-audio-1.0.vapi
vapi/gstreamer-base-1.0.vapi
vapi/gstreamer-pbutils-1.0.vapi
vapi/libgdata.vapi
vapi/libsoup-2.4.vapi
vapi/mx-1.0.vapi
vapi/rest-0.7.vapi
vapi/rest-extras-0.7.vapi

index 3978ed77b4334ead334346494596eee46c2235df..cfd3ca1f4d7241c1f6d7f41e1c5d4ac6baeee147 100644 (file)
@@ -2219,7 +2219,7 @@ namespace Gst {
                public virtual void cleanup ();
                public virtual void join (void* id);
                public virtual void prepare () throws GLib.Error;
-               public virtual void* push ([CCode (scope = "async")] owned Gst.TaskPoolFunction func) throws GLib.Error;
+               public virtual void* push ([CCode (scope = "async")] Gst.TaskPoolFunction func) throws GLib.Error;
        }
        [CCode (cheader_filename = "gst/gst.h", ref_function = "gst_toc_ref", type_id = "gst_toc_get_type ()", unref_function = "gst_toc_unref")]
        [Compact]
@@ -2508,7 +2508,7 @@ namespace Gst {
                public static bool api_type_has_tag (GLib.Type api, GLib.Quark tag);
                public static GLib.Type api_type_register (string api, string tags);
                public static unowned Gst.MetaInfo? get_info (string impl);
-               public static unowned Gst.MetaInfo? register (GLib.Type api, string impl, size_t size, [CCode (scope = "async")] owned Gst.MetaInitFunction init_func, [CCode (scope = "async")] owned Gst.MetaFreeFunction free_func, [CCode (scope = "async")] owned Gst.MetaTransformFunction transform_func);
+               public static unowned Gst.MetaInfo? register (GLib.Type api, string impl, size_t size, [CCode (scope = "async")] Gst.MetaInitFunction init_func, [CCode (scope = "async")] Gst.MetaFreeFunction free_func, [CCode (scope = "async")] Gst.MetaTransformFunction transform_func);
        }
        [CCode (cheader_filename = "gst/gst.h", has_type_id = false)]
        public struct MetaInfo {
index 4c7867a07ebd97ec208e832b810a0bbbaa5e6353..e971ae28035d4df693383a195a8c802efc112312 100644 (file)
@@ -328,7 +328,7 @@ namespace Gst {
                        [NoWrapper]
                        public virtual bool resume ();
                        public uint64 samples_done ();
-                       public void set_callback ([CCode (scope = "async")] owned Gst.Audio.RingBufferCallback cb);
+                       public void set_callback ([CCode (scope = "async")] Gst.Audio.RingBufferCallback cb);
                        public void set_channel_positions (Gst.Audio.ChannelPosition position);
                        public void set_flushing (bool flushing);
                        public void set_sample (uint64 sample);
index 03827a5ada55b2c5cf24856236ace0cb62329505..7daeee15486c12e4ce2441f8889cab49887d94c2 100644 (file)
@@ -320,7 +320,7 @@ namespace Gst {
                        public weak GLib.SList<Gst.Base.CollectData?> data;
                        [CCode (has_construct_function = false)]
                        public CollectPads ();
-                       public unowned Gst.Base.CollectData? add_pad (Gst.Pad pad, uint size, [CCode (scope = "async")] owned Gst.Base.CollectDataDestroyNotify destroy_notify, bool @lock);
+                       public unowned Gst.Base.CollectData? add_pad (Gst.Pad pad, uint size, [CCode (scope = "async")] Gst.Base.CollectDataDestroyNotify destroy_notify, bool @lock);
                        public uint available ();
                        public Gst.FlowReturn clip_running_time (Gst.Base.CollectData cdata, Gst.Buffer buf, Gst.Buffer? outbuf, void* user_data);
                        public bool event_default (Gst.Base.CollectData data, Gst.Event event, bool discard);
index 34c12cc84a0dccd994359c33140f805955e88651..2fbc4c4e3a0fcc24a9ed61f4f4d7f594c6c49c6d 100644 (file)
@@ -312,7 +312,7 @@ namespace Gst {
                [CCode (cheader_filename = "gst/pbutils/pbutils.h")]
                public static void init ();
                [CCode (cheader_filename = "gst/pbutils/pbutils.h", cname = "gst_install_plugins_async")]
-               public static Gst.PbUtils.InstallPluginsReturn install_plugins_async ([CCode (array_length = false, array_null_terminated = true)] string[] details, Gst.PbUtils.InstallPluginsContext? ctx, [CCode (scope = "async")] owned Gst.PbUtils.InstallPluginsResultFunc func);
+               public static Gst.PbUtils.InstallPluginsReturn install_plugins_async ([CCode (array_length = false, array_null_terminated = true)] string[] details, Gst.PbUtils.InstallPluginsContext? ctx, [CCode (scope = "async")] Gst.PbUtils.InstallPluginsResultFunc func);
                [CCode (cheader_filename = "gst/pbutils/pbutils.h", cname = "gst_install_plugins_installation_in_progress")]
                public static bool install_plugins_installation_in_progress ();
                [CCode (cheader_filename = "gst/pbutils/pbutils.h", cname = "gst_install_plugins_return_get_name")]
index 4e3e53ac557efb28cfc9d82b825803d2a9770011..8b8343d57bcc4ec58ac636182e0df4a9bcdeca4b 100644 (file)
@@ -185,10 +185,10 @@ namespace GData {
        public class BatchOperation : GLib.Object {
                [CCode (has_construct_function = false)]
                protected BatchOperation ();
-               public uint add_deletion (GData.Entry entry, [CCode (scope = "async")] owned GData.BatchOperationCallback callback);
-               public uint add_insertion (GData.Entry entry, [CCode (scope = "async")] owned GData.BatchOperationCallback callback);
-               public uint add_query (string id, GLib.Type entry_type, [CCode (scope = "async")] owned GData.BatchOperationCallback callback);
-               public uint add_update (GData.Entry entry, [CCode (scope = "async")] owned GData.BatchOperationCallback callback);
+               public uint add_deletion (GData.Entry entry, [CCode (scope = "async")] GData.BatchOperationCallback callback);
+               public uint add_insertion (GData.Entry entry, [CCode (scope = "async")] GData.BatchOperationCallback callback);
+               public uint add_query (string id, GLib.Type entry_type, [CCode (scope = "async")] GData.BatchOperationCallback callback);
+               public uint add_update (GData.Entry entry, [CCode (scope = "async")] GData.BatchOperationCallback callback);
                [Version (since = "0.9.0")]
                public unowned GData.AuthorizationDomain? get_authorization_domain ();
                public unowned string get_feed_uri ();
index bea63a50e6f6275de4a80df3f3e365ef0c79980f..b32ba86ac3912ebedac6105ac379ed55863db492 100644 (file)
@@ -133,7 +133,7 @@ namespace Soup {
                [Version (since = "2.26")]
                public uint hash_by_name ();
                public bool is_resolved ();
-               public void resolve_async (GLib.MainContext? async_context, GLib.Cancellable? cancellable, [CCode (scope = "async")] owned Soup.AddressCallback callback);
+               public void resolve_async (GLib.MainContext? async_context, GLib.Cancellable? cancellable, [CCode (scope = "async")] Soup.AddressCallback callback);
                public uint resolve_sync (GLib.Cancellable? cancellable = null);
                [NoAccessorMethod]
                public Soup.AddressFamily family { get; construct; }
@@ -852,10 +852,10 @@ namespace Soup {
                public virtual void kick ();
                public void pause_message (Soup.Message msg);
                [Version (since = "2.38")]
-               public void prefetch_dns (string hostname, GLib.Cancellable? cancellable, [CCode (scope = "async")] owned Soup.AddressCallback? callback);
+               public void prefetch_dns (string hostname, GLib.Cancellable? cancellable, [CCode (scope = "async")] Soup.AddressCallback? callback);
                [Version (deprecated = true, deprecated_since = "2.38", since = "2.30")]
                public void prepare_for_uri (Soup.URI uri);
-               public virtual void queue_message (owned Soup.Message msg, [CCode (scope = "async")] owned Soup.SessionCallback? callback);
+               public virtual void queue_message (owned Soup.Message msg, [CCode (scope = "async")] Soup.SessionCallback? callback);
                [Version (since = "2.38")]
                public bool redirect_message (Soup.Message msg);
                [Version (since = "2.24")]
@@ -975,7 +975,7 @@ namespace Soup {
        public class Socket : GLib.Object, GLib.Initable {
                [CCode (has_construct_function = false)]
                public Socket (string optname1, ...);
-               public void connect_async (GLib.Cancellable? cancellable, [CCode (scope = "async")] owned Soup.SocketCallback callback);
+               public void connect_async (GLib.Cancellable? cancellable, [CCode (scope = "async")] Soup.SocketCallback callback);
                public uint connect_sync (GLib.Cancellable? cancellable = null);
                public void disconnect ();
                public int get_fd ();
@@ -1118,7 +1118,7 @@ namespace Soup {
        }
        [CCode (cheader_filename = "libsoup/soup.h", type_cname = "SoupPasswordManagerInterface", type_id = "soup_password_manager_get_type ()")]
        public interface PasswordManager : Soup.SessionFeature, GLib.Object {
-               public abstract void get_passwords_async (Soup.Message msg, Soup.Auth auth, bool retrying, GLib.MainContext async_context, GLib.Cancellable? cancellable, [CCode (scope = "async")] owned Soup.PasswordManagerCallback callback);
+               public abstract void get_passwords_async (Soup.Message msg, Soup.Auth auth, bool retrying, GLib.MainContext async_context, GLib.Cancellable? cancellable, [CCode (scope = "async")] Soup.PasswordManagerCallback callback);
                public abstract void get_passwords_sync (Soup.Message msg, Soup.Auth auth, GLib.Cancellable? cancellable = null);
        }
        [CCode (cheader_filename = "libsoup/soup.h", type_cname = "SoupProxyResolverInterface", type_id = "soup_proxy_resolver_get_type ()")]
@@ -1130,7 +1130,7 @@ namespace Soup {
        [CCode (cheader_filename = "libsoup/soup.h", type_cname = "SoupProxyURIResolverInterface", type_id = "soup_proxy_uri_resolver_get_type ()")]
        public interface ProxyURIResolver : Soup.SessionFeature, GLib.Object {
                [Version (deprecated = true, since = "2.26.3")]
-               public abstract void get_proxy_uri_async (Soup.URI uri, GLib.MainContext? async_context, GLib.Cancellable? cancellable, [CCode (scope = "async")] owned Soup.ProxyURIResolverCallback callback);
+               public abstract void get_proxy_uri_async (Soup.URI uri, GLib.MainContext? async_context, GLib.Cancellable? cancellable, [CCode (scope = "async")] Soup.ProxyURIResolverCallback callback);
                [Version (deprecated = true, since = "2.26.3")]
                public abstract uint get_proxy_uri_sync (Soup.URI uri, GLib.Cancellable? cancellable, out Soup.URI proxy_uri);
        }
index a26623f29c29bb35f0b4fab5dadfa21cbc16b21a..b56f3bd92bf124e888e7099085fcfd5526d8e6ec 100644 (file)
@@ -7,7 +7,7 @@ namespace Mx {
                [CCode (has_construct_function = false)]
                public Action ();
                [CCode (has_construct_function = false)]
-               public Action.full (string name, string display_name, [CCode (scope = "async")] owned Mx.ActionCallbackFunc? activated_cb);
+               public Action.full (string name, string display_name, [CCode (scope = "async")] Mx.ActionCallbackFunc? activated_cb);
                public bool get_active ();
                public unowned string get_display_name ();
                public unowned string get_icon ();
@@ -302,7 +302,7 @@ namespace Mx {
                [CCode (has_construct_function = false)]
                protected Clipboard ();
                public static unowned Mx.Clipboard get_default ();
-               public void get_text ([CCode (scope = "async")] owned Mx.ClipboardCallbackFunc callback);
+               public void get_text ([CCode (scope = "async")] Mx.ClipboardCallbackFunc callback);
                public void set_text (string text);
        }
        [CCode (cheader_filename = "mx/mx.h", type_id = "mx_combo_box_get_type ()")]
index 0ff67c7dc54e670f95398864c0c147ef0b10f623..feb975d5c4b2d0af6740ee1cabdccc2f66a51c07 100644 (file)
@@ -29,16 +29,16 @@ namespace Rest {
                [CCode (has_construct_function = false, type = "RestProxy*")]
                public OAuthProxy (string consumer_key, string consumer_secret, string url_format, bool binding_required);
                public bool access_token (string function, string verifier) throws GLib.Error;
-               public bool access_token_async (string function, string verifier, [CCode (delegate_target_pos = 4.1, scope = "async")] owned Rest.OAuthProxyAuthCallback callback, GLib.Object weak_object) throws GLib.Error;
+               public bool access_token_async (string function, string verifier, [CCode (delegate_target_pos = 4.1, scope = "async")] Rest.OAuthProxyAuthCallback callback, GLib.Object weak_object) throws GLib.Error;
                public bool auth_step (string function) throws GLib.Error;
-               public bool auth_step_async (string function, [CCode (delegate_target_pos = 3.1, scope = "async")] owned Rest.OAuthProxyAuthCallback callback, GLib.Object weak_object) throws GLib.Error;
+               public bool auth_step_async (string function, [CCode (delegate_target_pos = 3.1, scope = "async")] Rest.OAuthProxyAuthCallback callback, GLib.Object weak_object) throws GLib.Error;
                public unowned string get_signature_host ();
                public unowned string get_token ();
                public unowned string get_token_secret ();
                public bool is_oauth10a ();
                public Rest.Proxy new_echo_proxy (string service_url, string url_format, bool binding_required);
                public bool request_token (string function, string callback_uri) throws GLib.Error;
-               public bool request_token_async (string function, string callback_uri, [CCode (delegate_target_pos = 4.1, scope = "async")] owned Rest.OAuthProxyAuthCallback callback, GLib.Object weak_object) throws GLib.Error;
+               public bool request_token_async (string function, string callback_uri, [CCode (delegate_target_pos = 4.1, scope = "async")] Rest.OAuthProxyAuthCallback callback, GLib.Object weak_object) throws GLib.Error;
                public void set_signature_host (string signature_host);
                public void set_token (string token);
                public void set_token_secret (string token_secret);
@@ -167,7 +167,7 @@ namespace Rest {
                public void set_function (string function);
                public void set_method (string method);
                public bool sync () throws GLib.Error;
-               public bool upload ([CCode (delegate_target_pos = 2.1, scope = "async")] owned Rest.ProxyCallUploadCallback callback, GLib.Object weak_object) throws GLib.Error;
+               public bool upload ([CCode (delegate_target_pos = 2.1, scope = "async")] Rest.ProxyCallUploadCallback callback, GLib.Object weak_object) throws GLib.Error;
                [NoAccessorMethod]
                public Rest.Proxy proxy { owned get; construct; }
        }
index 7c2a98c2118c5ca55f587b4667dff8d158c0b5c6..134ef649621e00c7c15ac44a76cb8afb11bb9bc0 100644 (file)
@@ -78,7 +78,7 @@ namespace Rest {
                [CCode (cname = "youtube_proxy_set_user_auth")]
                public void set_user_auth (string user_auth);
                [CCode (cname = "youtube_proxy_upload_async")]
-               public bool upload_async (string filename, GLib.HashTable<void*,void*> fields, bool incomplete, [CCode (delegate_target_pos = 5.1, scope = "async")] owned Rest.YoutubeProxyUploadCallback callback, GLib.Object weak_object) throws GLib.Error;
+               public bool upload_async (string filename, GLib.HashTable<void*,void*> fields, bool incomplete, [CCode (delegate_target_pos = 5.1, scope = "async")] Rest.YoutubeProxyUploadCallback callback, GLib.Object weak_object) throws GLib.Error;
                [CCode (cname = "youtube_proxy_new_with_auth", has_construct_function = false, type = "RestProxy*")]
                public YoutubeProxy.with_auth (string developer_key, string user_auth);
                [NoAccessorMethod]