[vala] vapi: Some more scope=async updates



commit 14913568dad6c3bb785de5d61946bf9ffe7cc7fb
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Thu Sep 5 10:11:13 2013 +0200

    vapi: Some more scope=async updates
    
    In addition to 3e20fd82c05daa60005aaff11411cd1814beb778

 vapi/libgdata.vapi |    8 ++++----
 vapi/mx-1.0.vapi   |    4 ++--
 2 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/vapi/libgdata.vapi b/vapi/libgdata.vapi
index 431f12e..1c540b7 100644
--- a/vapi/libgdata.vapi
+++ b/vapi/libgdata.vapi
@@ -134,10 +134,10 @@ namespace GData {
        public class BatchOperation : GLib.Object {
                [CCode (has_construct_function = false)]
                protected BatchOperation ();
-               public uint add_deletion (GData.Entry entry, GData.BatchOperationCallback callback);
-               public uint add_insertion (GData.Entry entry, GData.BatchOperationCallback callback);
-               public uint add_query (string id, GLib.Type entry_type, GData.BatchOperationCallback 
callback);
-               public uint add_update (GData.Entry entry, GData.BatchOperationCallback callback);
+               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 unowned GData.AuthorizationDomain get_authorization_domain ();
                public unowned string get_feed_uri ();
                public unowned GData.Service get_service ();
diff --git a/vapi/mx-1.0.vapi b/vapi/mx-1.0.vapi
index f25950b..d3ccc30 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, Mx.ActionCallbackFunc? activated_cb);
+               public Action.full (string name, string display_name, [CCode (scope = "async")] owned 
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 (Mx.ClipboardCallbackFunc callback);
+               public void get_text ([CCode (scope = "async")] owned Mx.ClipboardCallbackFunc callback);
                public void set_text (string text);
        }
        [CCode (cheader_filename = "mx/mx.h", type_id = "mx_combo_box_get_type ()")]


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