Mercurial > pidgin
comparison libpurple/protocols/gg/gg.c @ 32305:2ec94166be43
On the way to hiding the PurpleConnection struct.
* Added purple_connection_get_flags() and purple_connection_set_flags()
* Use purple_connection_ accessor functions.
author | andrew.victor@mxit.com |
---|---|
date | Tue, 18 Oct 2011 18:47:48 +0000 |
parents | ef01f180114b |
children | f236f3fce0d8 |
comparison
equal
deleted
inserted
replaced
32304:ea2b621fd3ba | 32305:2ec94166be43 |
---|---|
418 PurpleRequestFields *fields) | 418 PurpleRequestFields *fields) |
419 { | 419 { |
420 GGPInfo *info = purple_connection_get_protocol_data(gc); | 420 GGPInfo *info = purple_connection_get_protocol_data(gc); |
421 GGPToken *token = info->token; | 421 GGPToken *token = info->token; |
422 | 422 |
423 purple_account_disconnect(gc->account); | 423 purple_account_disconnect(purple_connection_get_account(gc)); |
424 | 424 |
425 g_free(token->id); | 425 g_free(token->id); |
426 g_free(token->data); | 426 g_free(token->data); |
427 g_free(token); | 427 g_free(token); |
428 | 428 |