Commit 726e1cb6 authored by Allison Karlitskaya's avatar Allison Karlitskaya

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.
parent d9a107a2
...@@ -49,13 +49,13 @@ KeyFile keyfile_from_stdin () throws Error { ...@@ -49,13 +49,13 @@ KeyFile keyfile_from_stdin () throws Error {
class DConfLoadState { class DConfLoadState {
public string[] keys; public string[] keys;
public Variant[] vals; public Variant?[] vals;
int n_keys; int n_keys;
int i; int i;
public DConfLoadState (int n) { public DConfLoadState (int n) {
keys = new string[n + 1]; keys = new string[n + 1];
vals = new Variant[n]; vals = new Variant?[n];
n_keys = n; n_keys = n;
i = 0; i = 0;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment