[librest/wip/baedert/tests] examples: Adapt to rest_proxy_call_continuous changes
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librest/wip/baedert/tests] examples: Adapt to rest_proxy_call_continuous changes
- Date: Tue, 26 Jul 2016 07:49:56 +0000 (UTC)
commit b97f771f3070a266cabe6364ac23a522c4a32ba0
Author: Timm Bäder <mail baedert org>
Date: Tue Jul 26 09:49:58 2016 +0200
examples: Adapt to rest_proxy_call_continuous changes
examples/continuous-twitter.c | 11 +++++++++--
1 files changed, 9 insertions(+), 2 deletions(-)
---
diff --git a/examples/continuous-twitter.c b/examples/continuous-twitter.c
index 7a915e0..71c271f 100644
--- a/examples/continuous-twitter.c
+++ b/examples/continuous-twitter.c
@@ -28,12 +28,19 @@ _call_continous_cb (RestProxyCall *call,
const gchar *buf,
gsize len,
const GError *error,
- GObject *weak_object,
gpointer userdata)
{
g_message ("%s", buf);
}
+static void
+continuous_done_cb (GObject *source_object,
+ GAsyncResult *result,
+ gpointer user_data)
+{
+
+}
+
int
main (int argc, char **argv)
{
@@ -78,7 +85,7 @@ main (int argc, char **argv)
rest_proxy_call_continuous (call,
_call_continous_cb,
NULL,
- NULL,
+ continuous_done_cb,
NULL);
g_main_loop_run (loop);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]