[vala] gtk+-2.0: Gtk.SelectionData.get_data does not return an array length.



commit 0440bec1afd07286962aa706597e17e769687667
Author: Evan Nemerson <evan coeus-group com>
Date:   Tue Nov 24 12:58:32 2009 -0800

    gtk+-2.0: Gtk.SelectionData.get_data does not return an array length.
    
    Fixes bug 602776.

 vapi/gtk+-2.0.vapi                       |    1 +
 vapi/packages/gtk+-2.0/gtk+-2.0.metadata |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/vapi/gtk+-2.0.vapi b/vapi/gtk+-2.0.vapi
index db8ba6f..8782375 100644
--- a/vapi/gtk+-2.0.vapi
+++ b/vapi/gtk+-2.0.vapi
@@ -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 ();
diff --git a/vapi/packages/gtk+-2.0/gtk+-2.0.metadata b/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
index 5ed6fd9..ee3f475 100644
--- a/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
+++ b/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
@@ -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"



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]