[folks] inpect: Fix build with vala git master
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [folks] inpect: Fix build with vala git master
- Date: Tue, 1 Dec 2015 07:16:07 +0000 (UTC)
commit 50df98c9f12081f3bbb5f664b0dd3b0d6a151f10
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Fri Nov 27 16:06:02 2015 +0100
inpect: Fix build with vala git master
https://bugzilla.gnome.org/show_bug.cgi?id=758741
tools/inspect/utils.vala | 12 ++++++++++++
1 files changed, 12 insertions(+), 0 deletions(-)
---
diff --git a/tools/inspect/utils.vala b/tools/inspect/utils.vala
index 98879b3..b867850 100644
--- a/tools/inspect/utils.vala
+++ b/tools/inspect/utils.vala
@@ -123,7 +123,11 @@ private class Folks.Inspect.Utils
individual.id, individual.personas.size);
/* List the Individual's properties */
+#if VALA_0_32
+ (unowned ParamSpec)[] properties =
+#else
unowned ParamSpec[] properties =
+#endif
individual.get_class ().list_properties ();
Utils.indent ();
@@ -163,7 +167,11 @@ private class Folks.Inspect.Utils
Utils.print_line ("Persona '%s':", persona.uid);
/* List the Persona's properties */
+#if VALA_0_32
+ (unowned ParamSpec)[] properties =
+#else
unowned ParamSpec[] properties =
+#endif
persona.get_class ().list_properties ();
Utils.indent ();
@@ -200,7 +208,11 @@ private class Folks.Inspect.Utils
store.id, store.personas.size);
/* List the store's properties */
+#if VALA_0_32
+ (unowned ParamSpec)[] properties =
+#else
unowned ParamSpec[] properties =
+#endif
store.get_class ().list_properties ();
Utils.indent ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]