Mercurial > pidgin
comparison src/connection.c @ 6297:ae8b0a12e6f3
[gaim-migrate @ 6796]
La la la, nobody saw that previous commit, la la la
committer: Tailor Script <tailor@pidgin.im>
| author | Christian Hammond <chipx86@chipx86.com> |
|---|---|
| date | Thu, 24 Jul 2003 06:12:55 +0000 |
| parents | 3ac224953483 |
| children | 74ca311ceb2a |
comparison
equal
deleted
inserted
replaced
| 6296:3ac224953483 | 6297:ae8b0a12e6f3 |
|---|---|
| 49 gc->prpl = gaim_find_prpl(gaim_account_get_protocol(account)); | 49 gc->prpl = gaim_find_prpl(gaim_account_get_protocol(account)); |
| 50 | 50 |
| 51 gaim_connection_set_account(gc, account); | 51 gaim_connection_set_account(gc, account); |
| 52 gaim_account_set_connection(account, gc); | 52 gaim_account_set_connection(account, gc); |
| 53 | 53 |
| 54 connections = g_list_append(connections, gc); | |
| 55 | |
| 56 return gc; | 54 return gc; |
| 57 } | 55 } |
| 58 | 56 |
| 59 void | 57 void |
| 60 gaim_connection_destroy(GaimConnection *gc) | 58 gaim_connection_destroy(GaimConnection *gc) |
| 149 } | 147 } |
| 150 | 148 |
| 151 gaim_connection_set_state(gc, GAIM_CONNECTING); | 149 gaim_connection_set_state(gc, GAIM_CONNECTING); |
| 152 | 150 |
| 153 gaim_debug(GAIM_DEBUG_INFO, "connection", "Calling serv_login\n"); | 151 gaim_debug(GAIM_DEBUG_INFO, "connection", "Calling serv_login\n"); |
| 152 | |
| 153 connections = g_list_append(connections, gc); | |
| 154 | 154 |
| 155 serv_login(account); | 155 serv_login(account); |
| 156 } | 156 } |
| 157 | 157 |
| 158 void | 158 void |
