comparison src/conversation.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 1d43fda97960
children 649199f4730e
comparison
equal deleted inserted replaced
1062:9446ac58745e 1063:e1408fb04c36
367 if (c->log_dialog) 367 if (c->log_dialog)
368 gtk_widget_destroy(c->log_dialog); 368 gtk_widget_destroy(c->log_dialog);
369 c->log_dialog = NULL; 369 c->log_dialog = NULL;
370 370
371 if (c->is_chat) { 371 if (c->is_chat) {
372 serv_chat_leave(c->gc, c->id); 372 if (c->gc)
373 serv_chat_leave(c->gc, c->id);
374 else {
375 /* bah */
376 while (c->in_room) {
377 char *tmp = c->in_room->data;
378 c->in_room = g_list_remove(c->in_room, tmp);
379 g_free(tmp);
380 }
381 g_free(c);
382 }
373 } else { 383 } else {
374 delete_conversation(c); 384 delete_conversation(c);
375 } 385 }
376 386
377 return TRUE; 387 return TRUE;