[vala] gobject-2.0: ObjectClass.list_properties returns unowned elements
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] gobject-2.0: ObjectClass.list_properties returns unowned elements
- Date: Sun, 22 Nov 2015 11:43:40 +0000 (UTC)
commit 6437f63b34cc32d90cd703cef719919e90f5508b
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Sun Nov 22 12:12:09 2015 +0100
gobject-2.0: ObjectClass.list_properties returns unowned elements
vapi/gobject-2.0.vapi | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/vapi/gobject-2.0.vapi b/vapi/gobject-2.0.vapi
index 803bd59..f490901 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);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]