aboutsummaryrefslogtreecommitdiffstats
path: root/json-streamer.c
diff options
context:
space:
mode:
authorDavid Turner <digit@android.com>2010-09-09 22:59:04 +0200
committerDavid 'Digit' Turner <digit@android.com>2010-09-13 00:30:34 -0700
commit9a5f7cee50272ec12fe23452cb2638bee8c35374 (patch)
tree1949c7dad6c2ddd2b8de01e8fe0c1429f0ef979f /json-streamer.c
parent75fb4a08de4abce11ee7cf81bcddd5193eb0438d (diff)
downloadexternal_qemu-9a5f7cee50272ec12fe23452cb2638bee8c35374.zip
external_qemu-9a5f7cee50272ec12fe23452cb2638bee8c35374.tar.gz
external_qemu-9a5f7cee50272ec12fe23452cb2638bee8c35374.tar.bz2
upstream: json update.
Diffstat (limited to 'json-streamer.c')
-rw-r--r--json-streamer.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/json-streamer.c b/json-streamer.c
index 610ffea..f7e7a68 100644
--- a/json-streamer.c
+++ b/json-streamer.c
@@ -43,11 +43,11 @@ static void json_message_process_token(JSONLexer *lexer, QString *token, JSONTok
}
dict = qdict_new();
- qdict_put_obj(dict, "type", QOBJECT(qint_from_int(type)));
+ qdict_put(dict, "type", qint_from_int(type));
QINCREF(token);
- qdict_put_obj(dict, "token", QOBJECT(token));
- qdict_put_obj(dict, "x", QOBJECT(qint_from_int(x)));
- qdict_put_obj(dict, "y", QOBJECT(qint_from_int(y)));
+ qdict_put(dict, "token", token);
+ qdict_put(dict, "x", qint_from_int(x));
+ qdict_put(dict, "y", qint_from_int(y));
qlist_append(parser->tokens, dict);