]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gtk+-2.0: Gtk.SelectionData.get_data does not return an array length.
authorEvan Nemerson <evan@coeus-group.com>
Tue, 24 Nov 2009 20:58:32 +0000 (12:58 -0800)
committerEvan Nemerson <evan@coeus-group.com>
Tue, 24 Nov 2009 20:58:32 +0000 (12:58 -0800)
Fixes bug 602776.

vapi/gtk+-2.0.vapi
vapi/packages/gtk+-2.0/gtk+-2.0.metadata

index db8ba6fd7255fa8107fa80eb483d5bc068ea2261..8782375d289662179d00e4ddc6c41a94bf393f21 100644 (file)
@@ -3392,6 +3392,7 @@ namespace Gtk {
                public Gdk.Atom target;
                public Gdk.Atom type;
                public Gtk.SelectionData copy ();
+               [CCode (array_length = false)]
                public unowned uchar[] get_data ();
                public Gdk.Atom get_data_type ();
                public unowned Gdk.Display get_display ();
index 5ed6fd999a39afc4d156063ae3f183cc3b67dd0e..ee3f475f424e39559af925f480917ae9d514e244 100644 (file)
@@ -375,6 +375,7 @@ gtk_scrolled_window_new.hadjustment nullable="1"
 gtk_scrolled_window_new.vadjustment nullable="1"
 gtk_selection_add_targets.targets is_array="1"
 gtk_selection_data_copy transfer_ownership="1"
+gtk_selection_data_get_data no_array_length="1"
 gtk_selection_data_get_pixbuf transfer_ownership="1" nullable="1"
 gtk_selection_data_get_text type_name="string" nullable="1" transfer_ownership="1"
 gtk_selection_data_get_uris is_array="1" transfer_ownership="1" array_null_terminated="1"