Mercurial > pidgin.yaz
comparison src/protocols/irc/irc.c @ 8287:ef881489396e
[gaim-migrate @ 9011]
Another patch from Scott Lamb to change g_source_remove calls to
gaim_timeout_remove. It also implements gaim_timeout_remove.
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Wed, 18 Feb 2004 07:43:21 +0000 |
parents | 9d1a984681fe |
children | ffa642240fc1 |
comparison
equal
deleted
inserted
replaced
8286:89d9d004e3f3 | 8287:ef881489396e |
---|---|
268 return; | 268 return; |
269 | 269 |
270 irc_cmd_quit(irc, "quit", NULL, NULL); | 270 irc_cmd_quit(irc, "quit", NULL, NULL); |
271 | 271 |
272 if (gc->inpa) | 272 if (gc->inpa) |
273 g_source_remove(gc->inpa); | 273 gaim_timeout_remove(gc->inpa); |
274 | 274 |
275 g_free(irc->inbuf); | 275 g_free(irc->inbuf); |
276 close(irc->fd); | 276 close(irc->fd); |
277 if (irc->timer) | 277 if (irc->timer) |
278 g_source_remove(irc->timer); | 278 gaim_timeout_remove(irc->timer); |
279 g_hash_table_destroy(irc->cmds); | 279 g_hash_table_destroy(irc->cmds); |
280 g_hash_table_destroy(irc->msgs); | 280 g_hash_table_destroy(irc->msgs); |
281 if (irc->motd) | 281 if (irc->motd) |
282 g_string_free(irc->motd, TRUE); | 282 g_string_free(irc->motd, TRUE); |
283 g_free(irc->server); | 283 g_free(irc->server); |