[dconf] editor: don't add no-path schemas
- From: Ryan Lortie <ryanl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [dconf] editor: don't add no-path schemas
- Date: Mon, 4 Oct 2010 12:26:20 +0000 (UTC)
commit 598f9b318078193456e057e3120666cdf724a478
Author: Ryan Lortie <desrt desrt ca>
Date: Mon Oct 4 08:11:05 2010 -0400
editor: don't add no-path schemas
editor/dconf-schema.vala | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/editor/dconf-schema.vala b/editor/dconf-schema.vala
index c60e8da..e1dc11f 100644
--- a/editor/dconf-schema.vala
+++ b/editor/dconf-schema.vala
@@ -193,7 +193,6 @@ public class SchemaList
if (node->name == "schema")
{
Schema schema = new Schema(this, node, gettext_domain);
- schemas.append(schema);
if (schema.path == null)
{
// FIXME: What to do here?
@@ -205,6 +204,7 @@ public class SchemaList
string full_name = schema.path + key.name;
keys.insert(full_name, key);
}
+ schemas.append(schema);
}
else if (node->name == "enum")
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]