aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-08-03 15:36:51 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-08-03 15:39:49 +0800
commit7f5ca9dc728bd94a24f89e63a0931af6c382641a (patch)
treea15d77090773fb3b47c6c6b0e66cd2a66716c6f7
parent7c54415fc4b9d9751ce2bcadcbd5e53d511ab42c (diff)
downloadgsoc2013-empathy-7f5ca9dc728bd94a24f89e63a0931af6c382641a.tar
gsoc2013-empathy-7f5ca9dc728bd94a24f89e63a0931af6c382641a.tar.gz
gsoc2013-empathy-7f5ca9dc728bd94a24f89e63a0931af6c382641a.tar.bz2
gsoc2013-empathy-7f5ca9dc728bd94a24f89e63a0931af6c382641a.tar.lz
gsoc2013-empathy-7f5ca9dc728bd94a24f89e63a0931af6c382641a.tar.xz
gsoc2013-empathy-7f5ca9dc728bd94a24f89e63a0931af6c382641a.tar.zst
gsoc2013-empathy-7f5ca9dc728bd94a24f89e63a0931af6c382641a.zip
goa-auth-handler: pass the data pointer to auth_cb
We are supposed to use it in this callback, if only to free it, so we should really pass it as user_data. https://bugzilla.gnome.org/show_bug.cgi?id=680952
-rw-r--r--libempathy/empathy-goa-auth-handler.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libempathy/empathy-goa-auth-handler.c b/libempathy/empathy-goa-auth-handler.c
index 99968946d..ddcde1775 100644
--- a/libempathy/empathy-goa-auth-handler.c
+++ b/libempathy/empathy-goa-auth-handler.c
@@ -173,13 +173,13 @@ got_oauth2_access_token_cb (GObject *source,
case EMPATHY_SASL_MECHANISM_FACEBOOK:
empathy_sasl_auth_facebook_async (data->channel,
goa_oauth2_based_get_client_id (oauth2), access_token,
- auth_cb, NULL);
+ auth_cb, data);
break;
case EMPATHY_SASL_MECHANISM_WLM:
empathy_sasl_auth_wlm_async (data->channel,
access_token,
- auth_cb, NULL);
+ auth_cb, data);
break;
default: