diff options
-rw-r--r-- | rest/oauth-proxy.c | 6 | ||||
-rw-r--r-- | rest/oauth-proxy.h | 2 | ||||
-rw-r--r-- | rest/rest-proxy-call.c | 2 | ||||
-rw-r--r-- | rest/rest-proxy-call.h | 2 |
4 files changed, 6 insertions, 6 deletions
diff --git a/rest/oauth-proxy.c b/rest/oauth-proxy.c index a32a821..ee3ea0d 100644 --- a/rest/oauth-proxy.c +++ b/rest/oauth-proxy.c @@ -257,7 +257,7 @@ typedef struct { static void auth_callback (RestProxyCall *call, - GError *error, + const GError *error, GObject *weak_object, gpointer user_data) { @@ -417,7 +417,7 @@ oauth_proxy_request_token (OAuthProxy *proxy, static void request_token_cb (RestProxyCall *call, - GError *error, + const GError *error, GObject *weak_object, gpointer user_data) { @@ -544,7 +544,7 @@ oauth_proxy_access_token (OAuthProxy *proxy, static void access_token_cb (RestProxyCall *call, - GError *error, + const GError *error, GObject *weak_object, gpointer user_data) { diff --git a/rest/oauth-proxy.h b/rest/oauth-proxy.h index 0d63f60..e93c234 100644 --- a/rest/oauth-proxy.h +++ b/rest/oauth-proxy.h @@ -95,7 +95,7 @@ RestProxy* oauth_proxy_new_with_token (const char *consumer_key, * oauth_proxy_access_token_async(). */ typedef void (*OAuthProxyAuthCallback)(OAuthProxy *proxy, - GError *error, + const GError *error, GObject *weak_object, gpointer userdata); diff --git a/rest/rest-proxy-call.c b/rest/rest-proxy-call.c index ddafb3a..b8ed212 100644 --- a/rest/rest-proxy-call.c +++ b/rest/rest-proxy-call.c @@ -771,7 +771,7 @@ typedef struct static void _rest_proxy_call_async_cb (RestProxyCall *call, - GError *error, + const GError *error, GObject *weak_object, gpointer userdata) { diff --git a/rest/rest-proxy-call.h b/rest/rest-proxy-call.h index 62da6a0..43bcfa9 100644 --- a/rest/rest-proxy-call.h +++ b/rest/rest-proxy-call.h @@ -135,7 +135,7 @@ gboolean rest_proxy_call_run (RestProxyCall *call, GError **error); typedef void (*RestProxyCallAsyncCallback)(RestProxyCall *call, - GError *error, + const GError *error, GObject *weak_object, gpointer userdata); |