]> 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>
Fri, 5 Jan 2018 15:36:29 +0000 (16:36 +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 990a106d3e897b7589410c57067d1b7203346c52..f769ae734f1f06bac0f5deb28a8016b665b448a1 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 15d2e92d277d69983081f2ad010b73ad7834e4c9..06388e73528fa1e2873948a92c8c51862f4dc635 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"