summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--editor/dconf-schema.vala4
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/dconf-schema.vala b/editor/dconf-schema.vala
index c2654b5..2d3ff7d 100644
--- a/editor/dconf-schema.vala
+++ b/editor/dconf-schema.vala
@@ -52,9 +52,9 @@ public class SchemaKey
}
}
else if (child->name == "summary")
- summary = child->children->content;
+ summary = child->children == null ? "" : child->children->content;
else if (child->name == "description")
- description = child->children->content;
+ description = child->children == null ? "" : child->children->content;
else if (child->name == "range")
range = new SchemaValueRange.from_xml(type, child);
else if (child->name == "choices")