From 3cb4f0e17896a9f6110ad7b7194b656142bdb77d Mon Sep 17 00:00:00 2001 From: Peter Bloomfield Date: Wed, 13 Mar 2013 12:43:23 -0400 Subject: [PATCH] Do not quote NULL sentinel https://bugzilla.gnome.org/show_bug.cgi?id=695791 --- libsecret/secret-schema.c | 2 +- libsecret/secret-schemas.c | 4 ++-- 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 }, } }; -- 2.7.4