[librest/wip/baedert/tests: 12/22] RestProxyCall: Stop exporting AsyncCallback



commit ad2188b3e8dac314eda815a769fd6caf832e026d
Author: Timm Bäder <mail baedert org>
Date:   Tue Jul 26 15:32:02 2016 +0200

    RestProxyCall: Stop exporting AsyncCallback

 rest/rest-proxy-call.c |    5 +++--
 rest/rest-proxy-call.h |    4 ----
 2 files changed, 3 insertions(+), 6 deletions(-)
---
diff --git a/rest/rest-proxy-call.c b/rest/rest-proxy-call.c
index ae7713a..a4a29c8 100644
--- a/rest/rest-proxy-call.c
+++ b/rest/rest-proxy-call.c
@@ -28,6 +28,9 @@
 #include "rest-private.h"
 #include "rest-proxy-call-private.h"
 
+typedef void (*RestProxyCallAsyncCallback)(RestProxyCall *call,
+                                           const GError  *error,
+                                           gpointer       userdata);
 
 struct _RestProxyCallAsyncClosure {
   RestProxyCall *call;
@@ -54,8 +57,6 @@ struct _RestProxyCallUploadClosure {
 };
 typedef struct _RestProxyCallUploadClosure RestProxyCallUploadClosure;
 
-
-
 #define GET_PRIVATE(o) ((RestProxyCallPrivate*)(rest_proxy_call_get_instance_private (REST_PROXY_CALL(o))))
 
 struct _RestProxyCallPrivate {
diff --git a/rest/rest-proxy-call.h b/rest/rest-proxy-call.h
index c227a5f..624aef7 100644
--- a/rest/rest-proxy-call.h
+++ b/rest/rest-proxy-call.h
@@ -148,10 +148,6 @@ void rest_proxy_call_remove_param (RestProxyCall *call,
 
 RestParams *rest_proxy_call_get_params (RestProxyCall *call);
 
-typedef void (*RestProxyCallAsyncCallback)(RestProxyCall *call,
-                                           const GError  *error,
-                                           gpointer       userdata);
-
 void rest_proxy_call_invoke_async (RestProxyCall       *call,
                                    GCancellable        *cancellable,
                                    GAsyncReadyCallback  callback,


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