From: Rico Tzschichholz Date: Fri, 5 Jan 2018 15:30:18 +0000 (+0100) Subject: gtk+-2.0: Don't hide user_data parameter in Clipboard.set_with_data() X-Git-Tag: 0.34.14~19 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e9a2e1dfed7b1a5e9383186f1f70d98105bc5245;p=thirdparty%2Fvala.git gtk+-2.0: Don't hide user_data parameter in Clipboard.set_with_data() https://bugzilla.gnome.org/show_bug.cgi?id=792237 --- diff --git a/vapi/gtk+-2.0.vapi b/vapi/gtk+-2.0.vapi index 804af9a1f..60b4a73ca 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 af76f4e1d..5e574103c 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"