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



commit 3f8990f7a4c362590f19e427aae2f68f27303fe6
Author: Emmanuele Bassi <ebassi linux intel com>
Date:   Tue Oct 27 17:42:14 2009 +0000

    Remove a stray ';' that broke deserializing GStrv
    
    The stray semicolon was preventing the GPtrArray from being
    updated.

 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 2fc1b26..2a8ec94 100644
--- a/json-glib/json-gobject.c
+++ b/json-glib/json-gobject.c
@@ -427,7 +427,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]