[vala] gtk+-3.0: add scope async to Gtk.Clipboard request/set_with methods



commit e577170ed770c86cb81b46463ab608a19491f081
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Mon Sep 7 13:45:05 2015 +0200

    gtk+-3.0: add scope async to Gtk.Clipboard request/set_with methods

 vapi/gtk+-3.0.vapi                       |    4 ++--
 vapi/packages/gtk+-3.0/gtk+-3.0.metadata |    3 ++-
 2 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/vapi/gtk+-3.0.vapi b/vapi/gtk+-3.0.vapi
index a022a7f..8e20416 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 35cf06b..b1211f5 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"


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