summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libsecret/secret-schema.c2
-rw-r--r--libsecret/secret-schemas.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/libsecret/secret-schema.c b/libsecret/secret-schema.c
index a35eea8..8cc5ac7 100644
--- a/libsecret/secret-schema.c
+++ b/libsecret/secret-schema.c
@@ -53,7 +53,7 @@
* { "number", SECRET_SCHEMA_ATTRIBUTE_INTEGER },
* { "string", SECRET_SCHEMA_ATTRIBUTE_STRING },
* { "even", SECRET_SCHEMA_ATTRIBUTE_BOOLEAN },
- * { "NULL", 0 },
+ * { NULL, 0 },
* }
* };
* return &the_schema;
diff --git a/libsecret/secret-schemas.c b/libsecret/secret-schemas.c
index b5c511b..16f120e 100644
--- a/libsecret/secret-schemas.c
+++ b/libsecret/secret-schemas.c
@@ -32,7 +32,7 @@ static const SecretSchema note_schema = {
"org.gnome.keyring.Note",
SECRET_SCHEMA_NONE,
{
- { "NULL", 0 },
+ { NULL, 0 },
}
};
@@ -80,7 +80,7 @@ static const SecretSchema network_schema = {
{ "port", SECRET_SCHEMA_ATTRIBUTE_INTEGER },
{ "server", SECRET_SCHEMA_ATTRIBUTE_STRING },
{ "authtype", SECRET_SCHEMA_ATTRIBUTE_STRING },
- { "NULL", 0 },
+ { NULL, 0 },
}
};