]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gtk+-3.0: add scope async to Gtk.Clipboard request/set_with methods
authorRico Tzschichholz <ricotz@ubuntu.com>
Mon, 7 Sep 2015 11:45:05 +0000 (13:45 +0200)
committerRico Tzschichholz <ricotz@ubuntu.com>
Mon, 7 Sep 2015 11:45:05 +0000 (13:45 +0200)
vapi/gtk+-3.0.vapi
vapi/packages/gtk+-3.0/gtk+-3.0.metadata

index a022a7fe63366cd371b0ef6e915ffc971901698b..8e204162e35ace617faad7084228b98220f805c9 100644 (file)
@@ -1411,8 +1411,8 @@ namespace Gtk {
                public void set_can_store (Gtk.TargetEntry[]? targets);
                public void set_image (Gdk.Pixbuf pixbuf);
                public void set_text (string text, int len);
-               public bool set_with_data (Gtk.TargetEntry[] targets, Gtk.ClipboardGetFunc get_func, Gtk.ClipboardClearFunc clear_func);
-               public bool set_with_owner (Gtk.TargetEntry[] targets, Gtk.ClipboardGetFunc get_func, Gtk.ClipboardClearFunc clear_func, GLib.Object owner);
+               public bool set_with_data (Gtk.TargetEntry[] targets, [CCode (scope = "async")] Gtk.ClipboardGetFunc get_func, [CCode (scope = "async")] Gtk.ClipboardClearFunc clear_func);
+               public bool set_with_owner (Gtk.TargetEntry[] targets, [CCode (scope = "async")] Gtk.ClipboardGetFunc get_func, [CCode (scope = "async")] Gtk.ClipboardClearFunc clear_func, GLib.Object owner);
                public void store ();
                public Gtk.SelectionData? wait_for_contents (Gdk.Atom target);
                public Gdk.Pixbuf? wait_for_image ();
index 35cf06bbb639bda6ef275f32886d77a7d7ae4954..b1211f51eb51502b85c56479d86ee323cf7caf48 100644 (file)
@@ -255,6 +255,8 @@ GtkCList::select_row has_emitter="1"
 GtkCList::undo_selection has_emitter="1"
 GtkCList::unselect_all has_emitter="1"
 GtkCList::unselect_row has_emitter="1"
+gtk_clipboard_request_*.callback scope="async"
+gtk_clipboard_set_with_*.*_func scope="async"
 gtk_clipboard_set_can_store.targets type_name="Gtk.TargetEntry[]?"
 gtk_clipboard_wait_for_contents transfer_ownership="1" nullable="1"
 gtk_clipboard_wait_for_text transfer_ownership="1" nullable="1"
@@ -264,7 +266,6 @@ gtk_clipboard_wait_for_rich_text.length hidden="1"
 gtk_clipboard_wait_for_uris is_array="1" no_array_length="1" array_null_terminated="1" transfer_ownership="1" nullable="1"
 gtk_clipboard_wait_for_targets.targets is_out="1" is_array="1" transfer_ownership="1"
 gtk_clipboard_wait_for_targets.n_targets hidden="1"
-gtk_clipboard_request_*.callback scope="async"
 GtkClipboardTextReceivedFunc.text nullable="1"
 GtkClipboardTargetsReceivedFunc.atoms is_array="1"
 GtkClipboardTargetsReceivedFunc.n_atoms hidden="1"