From: Rico Tzschichholz Date: Fri, 5 Jan 2018 15:40:13 +0000 (+0100) Subject: gtk+-3.0: Don't hide user_data parameter in Clipboard.set_with_data() X-Git-Tag: 0.34.14~18 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1bbd85e83ae14b50cc2307bc0175d0b71298cc15;p=thirdparty%2Fvala.git gtk+-3.0: Don't hide user_data parameter in Clipboard.set_with_data() https://bugzilla.gnome.org/show_bug.cgi?id=79223 --- diff --git a/vapi/gtk+-3.0.vapi b/vapi/gtk+-3.0.vapi index e4b57ca9c..ca142ad43 100644 --- a/vapi/gtk+-3.0.vapi +++ b/vapi/gtk+-3.0.vapi @@ -1413,7 +1413,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+-3.0/gtk+-3.0.metadata b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata index dc1642809..bbbea14a3 100644 --- a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata +++ b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata @@ -284,6 +284,7 @@ GtkCList::unselect_row has_emitter="1" gtk_clipboard_get_owner nullable="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_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"