Do not quote NULL sentinel

https://bugzilla.gnome.org/show_bug.cgi?id=695791
This commit is contained in:
Peter Bloomfield 2013-03-13 12:43:23 -04:00 committed by Stef Walter
parent 164ec0a756
commit 3cb4f0e178
2 changed files with 3 additions and 3 deletions

View File

@ -53,7 +53,7 @@
* { "number", SECRET_SCHEMA_ATTRIBUTE_INTEGER }, * { "number", SECRET_SCHEMA_ATTRIBUTE_INTEGER },
* { "string", SECRET_SCHEMA_ATTRIBUTE_STRING }, * { "string", SECRET_SCHEMA_ATTRIBUTE_STRING },
* { "even", SECRET_SCHEMA_ATTRIBUTE_BOOLEAN }, * { "even", SECRET_SCHEMA_ATTRIBUTE_BOOLEAN },
* { "NULL", 0 }, * { NULL, 0 },
* } * }
* }; * };
* return &the_schema; * return &the_schema;

View File

@ -32,7 +32,7 @@ static const SecretSchema note_schema = {
"org.gnome.keyring.Note", "org.gnome.keyring.Note",
SECRET_SCHEMA_NONE, SECRET_SCHEMA_NONE,
{ {
{ "NULL", 0 }, { NULL, 0 },
} }
}; };
@ -80,7 +80,7 @@ static const SecretSchema network_schema = {
{ "port", SECRET_SCHEMA_ATTRIBUTE_INTEGER }, { "port", SECRET_SCHEMA_ATTRIBUTE_INTEGER },
{ "server", SECRET_SCHEMA_ATTRIBUTE_STRING }, { "server", SECRET_SCHEMA_ATTRIBUTE_STRING },
{ "authtype", SECRET_SCHEMA_ATTRIBUTE_STRING }, { "authtype", SECRET_SCHEMA_ATTRIBUTE_STRING },
{ "NULL", 0 }, { NULL, 0 },
} }
}; };