[vala/0.30] vapi: Update GIR-based bindings



commit 209d78f5783b9d987a9537fa778c39902856ff21
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Sat Feb 20 14:53:35 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 8f33d0a..312a289 100644
--- a/vapi/gstreamer-1.0.vapi
+++ b/vapi/gstreamer-1.0.vapi
@@ -2018,7 +2018,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]
@@ -2222,7 +2222,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 c9ec3f0..491b925 100644
--- a/vapi/gstreamer-audio-1.0.vapi
+++ b/vapi/gstreamer-audio-1.0.vapi
@@ -305,7 +305,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 86cfdfe..f422084 100644
--- a/vapi/gstreamer-base-1.0.vapi
+++ b/vapi/gstreamer-base-1.0.vapi
@@ -303,7 +303,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 8140c7b..3a33017 100644
--- a/vapi/gstreamer-pbutils-1.0.vapi
+++ b/vapi/gstreamer-pbutils-1.0.vapi
@@ -286,7 +286,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 8dec4e5..5e8d1c7 100644
--- a/vapi/libgdata.vapi
+++ b/vapi/libgdata.vapi
@@ -136,10 +136,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);
                public unowned GData.AuthorizationDomain get_authorization_domain ();
                public unowned string get_feed_uri ();
                public unowned GData.Service get_service ();
diff --git a/vapi/libsoup-2.4.vapi b/vapi/libsoup-2.4.vapi
index adb6d6b..9bc01b3 100644
--- a/vapi/libsoup-2.4.vapi
+++ b/vapi/libsoup-2.4.vapi
@@ -117,7 +117,7 @@ namespace Soup {
                public uint hash_by_ip ();
                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; }
@@ -716,10 +716,10 @@ namespace Soup {
                [NoWrapper]
                public virtual void kick ();
                public void pause_message (Soup.Message msg);
-               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);
                [Deprecated (since = "2.38")]
                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);
                public bool redirect_message (Soup.Message msg);
                public void remove_feature (Soup.SessionFeature feature);
                public void remove_feature_by_type (GLib.Type feature_type);
@@ -810,7 +810,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 ();
@@ -938,7 +938,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 ()")]
@@ -950,7 +950,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 {
                [Deprecated]
-               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);
                [Deprecated]
                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 14662b1..63609ca 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 ();
@@ -264,7 +264,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 5b38565..fdd3113 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);
@@ -165,7 +165,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]