comparison src/conversation.c @ 511:3133ab511d92

[gaim-migrate @ 521] beginnings of directim, some improvements to oscar chat stuff committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Thu, 20 Jul 2000 18:34:25 +0000
parents 4d1e39112cbd
children b33ed0a7f49b
comparison
equal deleted inserted replaced
510:dab0c611029e 511:3133ab511d92
297 { 297 {
298 if (c->window) 298 if (c->window)
299 gtk_widget_destroy(c->window); 299 gtk_widget_destroy(c->window);
300 c->window = NULL; 300 c->window = NULL;
301 301
302 if (c->is_chat) 302 if (c->is_chat) {
303 serv_chat_leave(c->id); 303 serv_chat_leave(c->id);
304 else 304 } else {
305 if (c->is_direct) {
306 if (!USE_OSCAR) {
307 /* FIXME */
308 } else {
309 aim_conn_kill(c->conn);
310 }
311 }
305 delete_conversation(c); 312 delete_conversation(c);
313 }
306 314
307 return TRUE; 315 return TRUE;
308 } 316 }
309 317
310 void set_font_face(GtkWidget *widget, struct conversation *c) 318 void set_font_face(GtkWidget *widget, struct conversation *c)