From: Rico Tzschichholz Date: Sun, 22 Nov 2015 11:12:09 +0000 (+0100) Subject: gobject-2.0: ObjectClass.list_properties returns unowned elements X-Git-Tag: 0.30.1~11 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=249214a50f1ad5016f06d337228b859917b17cf9;p=thirdparty%2Fvala.git gobject-2.0: ObjectClass.list_properties returns unowned elements (cherry picked from commit 6437f63b34cc32d90cd703cef719919e90f5508b) --- diff --git a/vapi/gobject-2.0.vapi b/vapi/gobject-2.0.vapi index 918609d90..c78565f25 100644 --- a/vapi/gobject-2.0.vapi +++ b/vapi/gobject-2.0.vapi @@ -294,7 +294,11 @@ namespace GLib { public class ObjectClass : TypeClass { public unowned ParamSpec? find_property (string property_name); [CCode (array_length_type = "guint")] +#if VALA_0_26 + public (unowned ParamSpec)[] list_properties (); +#else public unowned ParamSpec[] list_properties (); +#endif public void install_property (uint property_id, ParamSpec pspec); }