]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gobject-2.0: ObjectClass.list_properties returns unowned elements
authorRico Tzschichholz <ricotz@ubuntu.com>
Sun, 22 Nov 2015 11:12:09 +0000 (12:12 +0100)
committerRico Tzschichholz <ricotz@ubuntu.com>
Sun, 22 Nov 2015 11:12:09 +0000 (12:12 +0100)
vapi/gobject-2.0.vapi

index 803bd59711f73407cb65c92b5fa510ff2b3777eb..f49090188d6a30d5d56209a88ab19c0fc2a3567d 100644 (file)
@@ -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);
        }