]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
Revert "gobject-2.0: ObjectClass.list_properties returns unowned elements"
authorRico Tzschichholz <ricotz@ubuntu.com>
Wed, 9 Dec 2015 22:20:13 +0000 (23:20 +0100)
committerRico Tzschichholz <ricotz@ubuntu.com>
Wed, 9 Dec 2015 22:20:13 +0000 (23:20 +0100)
Don't do this for a stable release update.

This reverts commit 249214a50f1ad5016f06d337228b859917b17cf9.

vapi/gobject-2.0.vapi

index c78565f253b44cdf1f7cdad70cbe39ffab8faa4e..918609d90d95337159903925609a461c7a0cc6f0 100644 (file)
@@ -294,11 +294,7 @@ 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);
        }