From: Mark Lee Date: Mon, 17 Aug 2009 16:07:26 +0000 (-0700) Subject: gobject-2.0: fix binding for ObjectClass.list_properties X-Git-Tag: 0.7.6~181 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fc9e8bff3b7ecc47f526b41513294dfa8ed4c1ad;p=thirdparty%2Fvala.git 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. --- diff --git a/vapi/gobject-2.0.vapi b/vapi/gobject-2.0.vapi index 3b3ebb8f0..09b0e9694 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); }