Mercurial > pidgin.yaz
comparison src/server.c @ 1063:e1408fb04c36
[gaim-migrate @ 1073]
updated HACKING to describe gaim_connection/aim_user/prpl.
updated FAQ to answer some questions about multiple connections.
made it so you're not able to send a message in a chat room that you're no longer in (i.e. when you were in the room but sign off)
free'd the buddy list when the connection is destroyed
tried to prevent set_buddy from being called before the buddy list is drawn
i think there was something else
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Sat, 04 Nov 2000 03:08:54 +0000 |
parents | d50d3abb9eb7 |
children | ed28707debdc |
comparison
equal
deleted
inserted
replaced
1062:9446ac58745e | 1063:e1408fb04c36 |
---|---|
55 } | 55 } |
56 } | 56 } |
57 | 57 |
58 void serv_close(struct gaim_connection *gc) | 58 void serv_close(struct gaim_connection *gc) |
59 { | 59 { |
60 GSList *bcs = gc->buddy_chats; | |
61 struct conversation *b; | |
62 while (bcs) { | |
63 b = (struct conversation *)bcs->data; | |
64 gc->buddy_chats = g_slist_remove(gc->buddy_chats, b); | |
65 b->gc = NULL; | |
66 bcs = gc->buddy_chats; | |
67 } | |
68 | |
60 if (gc->idle_timer > 0) | 69 if (gc->idle_timer > 0) |
61 gtk_timeout_remove(gc->idle_timer); | 70 gtk_timeout_remove(gc->idle_timer); |
62 gc->idle_timer = -1; | 71 gc->idle_timer = -1; |
63 | 72 |
64 if (gc->keepalive > 0) | 73 if (gc->keepalive > 0) |