[vala/0.34] gtk+-2.0: Don't hide user_data parameter in Clipboard.set_with_data()



commit e9a2e1dfed7b1a5e9383186f1f70d98105bc5245
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Fri Jan 5 16:30:18 2018 +0100

    gtk+-2.0: Don't hide user_data parameter in Clipboard.set_with_data()
    
    https://bugzilla.gnome.org/show_bug.cgi?id=792237

 vapi/gtk+-2.0.vapi                       |    2 +-
 vapi/packages/gtk+-2.0/gtk+-2.0.metadata |    1 +
 2 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/vapi/gtk+-2.0.vapi b/vapi/gtk+-2.0.vapi
index 804af9a..60b4a73 100644
--- a/vapi/gtk+-2.0.vapi
+++ b/vapi/gtk+-2.0.vapi
@@ -1182,7 +1182,7 @@ 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, [CCode (scope = "async")] 
Gtk.ClipboardGetFunc get_func, [CCode (scope = "async")] Gtk.ClipboardClearFunc clear_func);
+               public bool set_with_data (Gtk.TargetEntry[] targets, [CCode (scope = "async")] 
Gtk.ClipboardGetFunc get_func, [CCode (scope = "async")] Gtk.ClipboardClearFunc clear_func, void* user_data);
                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);
diff --git a/vapi/packages/gtk+-2.0/gtk+-2.0.metadata b/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
index af76f4e..5e57410 100644
--- a/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
+++ b/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
@@ -153,6 +153,7 @@ 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_with_data.user_data hidden="0"
 gtk_clipboard_wait_for_contents transfer_ownership="1" nullable="1"
 gtk_clipboard_wait_for_text transfer_ownership="1" nullable="1"
 gtk_clipboard_wait_for_image transfer_ownership="1" nullable="1"


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