diff options
author | Ryan Lortie <desrt@desrt.ca> | 2011-12-28 21:20:17 -0500 |
---|---|---|
committer | Ryan Lortie <desrt@desrt.ca> | 2011-12-28 21:20:17 -0500 |
commit | 726e1cb641759eeed715b5ac82012edb5923a3e5 (patch) | |
tree | 70bc144fa198e2a2d1ded50039c5e8a07dea2996 | |
parent | d9a107a25e37dd4deb2edb9dd4cf88c374e01956 (diff) | |
download | dconf-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.vala | 4 |
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; } |