[vala/0.30] Revert "gobject-2.0: ObjectClass.list_properties returns unowned elements"



commit c43ae0d6322845193a50bf2fd5a5619eb6423e7e
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Wed Dec 9 23:20:13 2015 +0100

    Revert "gobject-2.0: ObjectClass.list_properties returns unowned elements"
    
    Don't do this for a stable release update.
    
    This reverts commit 249214a50f1ad5016f06d337228b859917b17cf9.

 vapi/gobject-2.0.vapi |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/vapi/gobject-2.0.vapi b/vapi/gobject-2.0.vapi
index c78565f..918609d 100644
--- a/vapi/gobject-2.0.vapi
+++ b/vapi/gobject-2.0.vapi
@@ -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);
        }
 


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