summaryrefslogtreecommitdiff
path: root/src/json.h
diff options
context:
space:
mode:
authorGravatar Alan Fitton <ajf@eth0.org.uk>2011-09-18 16:21:04 +0000
committerGravatar Alan Fitton <ajf@eth0.org.uk>2011-09-18 16:21:04 +0000
commit79cd86dbfd5b2ea0963c84b48088ec189acfc795 (patch)
tree535769200823fdaa1fec9795fe986668cb33bdee /src/json.h
parent63763bb00502e3c235e478ec50e097904c774696 (diff)
Big changeset, may break stuff. Unfortunately you can't magically jump into the UI thread using gdk_threads_enter/leave() on Windows, the only way is to schedule a callback using g_idle_add. This required a lot of reworking. Good news, Windows support actually works now \o/
Diffstat (limited to 'src/json.h')
-rw-r--r--src/json.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/json.h b/src/json.h
index a71e130..62237f8 100644
--- a/src/json.h
+++ b/src/json.h
@@ -26,8 +26,7 @@
#include "trg-client.h"
gchar *trg_serialize(JsonNode * req);
-JsonObject *trg_deserialize(trg_http_response *response,
- GError ** error);
+JsonObject *trg_deserialize(trg_response *response, GError ** error);
JsonObject *get_arguments(JsonObject * req);
JsonObject *node_get_arguments(JsonNode * req);