[vala] vapi: Update GIR-based bindings



commit 8bd1dba5ee8508ff9956d7bcef5bcf41b9c79b21
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Sun Jan 31 21:42:43 2016 +0100

    vapi: Update GIR-based bindings

 vapi/gstreamer-1.0.vapi         |    4 ++--
 vapi/gstreamer-audio-1.0.vapi   |    2 +-
 vapi/gstreamer-base-1.0.vapi    |    2 +-
 vapi/gstreamer-pbutils-1.0.vapi |    2 +-
 vapi/libgdata.vapi              |    8 ++++----
 vapi/libsoup-2.4.vapi           |   12 ++++++------
 vapi/mx-1.0.vapi                |    4 ++--
 vapi/rest-0.7.vapi              |    8 ++++----
 vapi/rest-extras-0.7.vapi       |    2 +-
 9 files changed, 22 insertions(+), 22 deletions(-)
---
diff --git a/vapi/gstreamer-1.0.vapi b/vapi/gstreamer-1.0.vapi
index 3978ed7..cfd3ca1 100644
--- a/vapi/gstreamer-1.0.vapi
+++ b/vapi/gstreamer-1.0.vapi
@@ -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 {
diff --git a/vapi/gstreamer-audio-1.0.vapi b/vapi/gstreamer-audio-1.0.vapi
index 4c7867a..e971ae2 100644
--- a/vapi/gstreamer-audio-1.0.vapi
+++ b/vapi/gstreamer-audio-1.0.vapi
@@ -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);
diff --git a/vapi/gstreamer-base-1.0.vapi b/vapi/gstreamer-base-1.0.vapi
index 03827a5..7daeee1 100644
--- a/vapi/gstreamer-base-1.0.vapi
+++ b/vapi/gstreamer-base-1.0.vapi
@@ -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);
diff --git a/vapi/gstreamer-pbutils-1.0.vapi b/vapi/gstreamer-pbutils-1.0.vapi
index 34c12cc..2fbc4c4 100644
--- a/vapi/gstreamer-pbutils-1.0.vapi
+++ b/vapi/gstreamer-pbutils-1.0.vapi
@@ -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")]
diff --git a/vapi/libgdata.vapi b/vapi/libgdata.vapi
index 4e3e53a..8b8343d 100644
--- a/vapi/libgdata.vapi
+++ b/vapi/libgdata.vapi
@@ -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 ();
diff --git a/vapi/libsoup-2.4.vapi b/vapi/libsoup-2.4.vapi
index bea63a5..b32ba86 100644
--- a/vapi/libsoup-2.4.vapi
+++ b/vapi/libsoup-2.4.vapi
@@ -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);
        }
diff --git a/vapi/mx-1.0.vapi b/vapi/mx-1.0.vapi
index a26623f..b56f3bd 100644
--- a/vapi/mx-1.0.vapi
+++ b/vapi/mx-1.0.vapi
@@ -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 ()")]
diff --git a/vapi/rest-0.7.vapi b/vapi/rest-0.7.vapi
index 0ff67c7..feb975d 100644
--- a/vapi/rest-0.7.vapi
+++ b/vapi/rest-0.7.vapi
@@ -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; }
        }
diff --git a/vapi/rest-extras-0.7.vapi b/vapi/rest-extras-0.7.vapi
index 7c2a98c..134ef64 100644
--- a/vapi/rest-extras-0.7.vapi
+++ b/vapi/rest-extras-0.7.vapi
@@ -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]


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