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

vapi/gtk+-3.0.vapi
vapi/metadata/Gtk-3.0.metadata

index f1b66e0247494f48b2c184c66daba813dfb68833..4cd7bc6fad02921300b400acfea619ceb50313ba 100644 (file)
@@ -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 ();
index e3a9d2366a4a5928053c21bda6605f9bb8ff9179..67fc130da08102a82dc944dbd5815f3da34a8905 100644 (file)
@@ -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