[vala] gobject-2.0: fix binding for ObjectClass.list_properties



commit fc9e8bff3b7ecc47f526b41513294dfa8ed4c1ad
Author: Mark Lee <marklee src gnome org>
Date:   Mon Aug 17 09:07:26 2009 -0700

    gobject-2.0: fix binding for ObjectClass.list_properties
    
    The array length type for the return value of
    g_object_class_list_properties() is guint, not int.
    
    Fixes GNOME Bug #592108.

 vapi/gobject-2.0.vapi |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/vapi/gobject-2.0.vapi b/vapi/gobject-2.0.vapi
index 3b3ebb8..09b0e96 100644
--- a/vapi/gobject-2.0.vapi
+++ b/vapi/gobject-2.0.vapi
@@ -159,6 +159,7 @@ namespace GLib {
 	[CCode (lower_case_csuffix = "object_class")]
 	public class ObjectClass : TypeClass {
 		public weak ParamSpec? find_property (string property_name);
+		[CCode (array_length_type = "guint")]
 		public weak ParamSpec[] list_properties ();
 		public void install_property (uint property_id, ParamSpec pspec);
 	}



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