From: Rico Tzschichholz Date: Mon, 7 Sep 2015 11:45:05 +0000 (+0200) Subject: gtk+-3.0: add scope async to Gtk.Clipboard request/set_with methods X-Git-Tag: 0.30.0~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e577170ed770c86cb81b46463ab608a19491f081;p=thirdparty%2Fvala.git gtk+-3.0: add scope async to Gtk.Clipboard request/set_with methods --- diff --git a/vapi/gtk+-3.0.vapi b/vapi/gtk+-3.0.vapi index a022a7fe6..8e204162e 100644 --- a/vapi/gtk+-3.0.vapi +++ b/vapi/gtk+-3.0.vapi @@ -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 (); diff --git a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata index 35cf06bbb..b1211f51e 100644 --- a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata +++ b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata @@ -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"