]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gtk+-2.0: Don't hide user_data parameter in Clipboard.set_with_data()
authorRico Tzschichholz <ricotz@ubuntu.com>
Fri, 5 Jan 2018 15:30:18 +0000 (16:30 +0100)
committerRico Tzschichholz <ricotz@ubuntu.com>
Tue, 16 Jan 2018 17:24:20 +0000 (18:24 +0100)
https://bugzilla.gnome.org/show_bug.cgi?id=792237

vapi/gtk+-2.0.vapi
vapi/packages/gtk+-2.0/gtk+-2.0.metadata

index 804af9a1fc9ec38e98c5a47920db9a1a301c9490..60b4a73ca70d6c47c8cec0aa78c4559a0c39768d 100644 (file)
@@ -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);
index af76f4e1d8bb07c742cb9a1d59988912269be1dc..5e574103c7b8f4d9cfddc119b5a7b72bf83f5d54 100644 (file)
@@ -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"