[libsecret] Do not quote NULL sentinel



commit 3cb4f0e17896a9f6110ad7b7194b656142bdb77d
Author: Peter Bloomfield <pbloomfield bellsouth net>
Date:   Wed Mar 13 12:43:23 2013 -0400

    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 },
        }
 };
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]