From: Rico Tzschichholz Date: Fri, 5 Jan 2018 15:26:58 +0000 (+0100) Subject: gtk+-3.0: Don't hide user_data parameter in Clipboard.set_with_data() X-Git-Tag: 0.39.4~27 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=61104941655ef5e7a77550534890a6cf7435feee;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=792237 --- diff --git a/vapi/gtk+-3.0.vapi b/vapi/gtk+-3.0.vapi index f1b66e024..4cd7bc6fa 100644 --- a/vapi/gtk+-3.0.vapi +++ b/vapi/gtk+-3.0.vapi @@ -2004,7 +2004,7 @@ namespace Gtk { [Version (since = "2.6")] public void set_image (Gdk.Pixbuf pixbuf); public void set_text (string text, int len); - public bool set_with_data ([CCode (array_length_cname = "n_targets", array_length_pos = 1.5, array_length_type = "guint")] Gtk.TargetEntry[] targets, [CCode (scope = "async")] Gtk.ClipboardGetFunc get_func, [CCode (scope = "async")] Gtk.ClipboardClearFunc clear_func); + public bool set_with_data ([CCode (array_length_cname = "n_targets", array_length_pos = 1.5, array_length_type = "guint")] 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 ([CCode (array_length_cname = "n_targets", array_length_pos = 1.5, array_length_type = "guint")] Gtk.TargetEntry[] targets, [CCode (scope = "async")] Gtk.ClipboardGetFunc get_func, [CCode (scope = "async")] Gtk.ClipboardClearFunc clear_func, GLib.Object owner); [Version (since = "2.6")] public void store (); diff --git a/vapi/metadata/Gtk-3.0.metadata b/vapi/metadata/Gtk-3.0.metadata index e3a9d2366..67fc130da 100644 --- a/vapi/metadata/Gtk-3.0.metadata +++ b/vapi/metadata/Gtk-3.0.metadata @@ -240,6 +240,7 @@ TreeModel // G-I can't handle delegates w/o targets Clipboard .set_with_data skip=false + .set_with_data.clear_func closure=-1 .set_with_owner skip=false ColorSelection .set_change_palette_with_screen_hook skip=false