From 7f5ca9dc728bd94a24f89e63a0931af6c382641a Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Fri, 3 Aug 2012 09:36:51 +0200 Subject: 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 --- libempathy/empathy-goa-auth-handler.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libempathy/empathy-goa-auth-handler.c') 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: -- cgit v1.2.3