summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Lortie <desrt@desrt.ca>2011-12-28 21:20:17 -0500
committerRyan Lortie <desrt@desrt.ca>2011-12-28 21:20:17 -0500
commit726e1cb641759eeed715b5ac82012edb5923a3e5 (patch)
tree70bc144fa198e2a2d1ded50039c5e8a07dea2996
parentd9a107a25e37dd4deb2edb9dd4cf88c374e01956 (diff)
downloaddconf-726e1cb641759eeed715b5ac82012edb5923a3e5.tar.gz
adjust to recent changes in vala compiler
It is now possible to have arrays of nullable types and some places where we had the equivalent non-null type are now considered to be errors.
-rw-r--r--bin/dconf-dump.vala4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/dconf-dump.vala b/bin/dconf-dump.vala
index 85b60e8..4fb8c02 100644
--- a/bin/dconf-dump.vala
+++ b/bin/dconf-dump.vala
@@ -49,13 +49,13 @@ KeyFile keyfile_from_stdin () throws Error {
class DConfLoadState {
public string[] keys;
- public Variant[] vals;
+ public Variant?[] vals;
int n_keys;
int i;
public DConfLoadState (int n) {
keys = new string[n + 1];
- vals = new Variant[n];
+ vals = new Variant?[n];
n_keys = n;
i = 0;
}