Mercurial > pidgin.yaz
comparison libpurple/protocols/gg/gg.c @ 26028:bcad7dc4b453
propagate from branch 'im.pidgin.pidgin' (head 633ffe234af48ead3631ae62e23840b4438fcf5f)
to branch 'im.pidgin.maiku.vv' (head 5585b8e919d9adb0eb491c714768027e81f1918c)
author | Mike Ruprecht <maiku@soc.pidgin.im> |
---|---|
date | Thu, 06 Nov 2008 03:20:05 +0000 |
parents | e22bcca9f2b2 8282911d5e17 |
children | adf153852bcf |
comparison
equal
deleted
inserted
replaced
26027:94224a5563db | 26028:bcad7dc4b453 |
---|---|
419 * new username and etc, we need to somehow have it refresh at this | 419 * new username and etc, we need to somehow have it refresh at this |
420 * point | 420 * point |
421 */ | 421 */ |
422 | 422 |
423 /* Need to disconnect or actually log in. For now, we disconnect. */ | 423 /* Need to disconnect or actually log in. For now, we disconnect. */ |
424 purple_connection_destroy(gc); | 424 purple_account_disconnect(account); |
425 | 425 |
426 exit_err: | 426 exit_err: |
427 if(account->registration_cb) | 427 if(account->registration_cb) |
428 (account->registration_cb)(account, FALSE, account->registration_cb_user_data); | 428 (account->registration_cb)(account, FALSE, account->registration_cb_user_data); |
429 | 429 |
444 PurpleRequestFields *fields) | 444 PurpleRequestFields *fields) |
445 { | 445 { |
446 GGPInfo *info = gc->proto_data; | 446 GGPInfo *info = gc->proto_data; |
447 GGPToken *token = info->token; | 447 GGPToken *token = info->token; |
448 | 448 |
449 purple_connection_destroy(gc); | 449 purple_account_disconnect(gc->account); |
450 | 450 |
451 g_free(token->id); | 451 g_free(token->id); |
452 g_free(token->data); | 452 g_free(token->data); |
453 g_free(token); | 453 g_free(token); |
454 | 454 |