[json-glib/json-glib-0-8] Remove a stray '; ' that broke deserializing GStrv



commit a422c9371c991ee09b8244dc4ad97c00e9704202
Author: Emmanuele Bassi <ebassi linux intel com>
Date:   Thu Oct 29 14:06:39 2009 +0000

    Remove a stray ';' that broke deserializing GStrv
    
    The stray semicolon was preventing the GPtrArray from being
    updated.
    
    (cherry picked from commit 3f8990f7a4c362590f19e427aae2f68f27303fe6)

 json-glib/json-gobject.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/json-glib/json-gobject.c b/json-glib/json-gobject.c
index 1b198ca..95fd433 100644
--- a/json-glib/json-gobject.c
+++ b/json-glib/json-gobject.c
@@ -200,7 +200,7 @@ json_deserialize_pspec (GValue     *value,
               if (JSON_NODE_TYPE (val) != JSON_NODE_VALUE)
                 continue;
 
-              if (json_node_get_string (val) != NULL);
+              if (json_node_get_string (val) != NULL)
                 g_ptr_array_add (str_array, (gpointer) json_node_get_string (val));
             }
 



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