]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
vapi: Some more scope=async updates
authorRico Tzschichholz <ricotz@ubuntu.com>
Thu, 5 Sep 2013 08:11:13 +0000 (10:11 +0200)
committerRico Tzschichholz <ricotz@ubuntu.com>
Thu, 5 Sep 2013 08:11:13 +0000 (10:11 +0200)
In addition to 3e20fd82c05daa60005aaff11411cd1814beb778

vapi/libgdata.vapi
vapi/mx-1.0.vapi

index 431f12e0c03df67fb94b1d5d693a2b6e7cfec85f..1c540b7e24bb476dace600b475cce7e64ed060fe 100644 (file)
@@ -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 ();
index f25950b2d1cf1fa594af4f9f46aff2b62ddcc39c..d3ccc30b5f41c78613db1978ddf45932b5e4809c 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, 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 ()")]