[librest/wip/baedert/tests] RestProxyCall: Stop exporting AsyncCallback
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librest/wip/baedert/tests] RestProxyCall: Stop exporting AsyncCallback
- Date: Tue, 26 Jul 2016 13:31:40 +0000 (UTC)
commit dfd9f15509bd6f0036cf1cf5b69e58a0e2432033
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]