Mercurial > pidgin
comparison src/buddy_chat.c @ 368:9bf1f77985d2
[gaim-migrate @ 378]
chat works properly now. it wasn't even working properly on the toc side,
but the toc server was more lenient.
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Fri, 09 Jun 2000 07:59:00 +0000 |
parents | 1c4ce1da3946 |
children | 9d22acf6db73 |
comparison
equal
deleted
inserted
replaced
367:c457f47fbb1d | 368:9bf1f77985d2 |
---|---|
277 g_free(buf); | 277 g_free(buf); |
278 } | 278 } |
279 | 279 |
280 static void close_callback(GtkWidget *widget, struct buddy_chat *b) | 280 static void close_callback(GtkWidget *widget, struct buddy_chat *b) |
281 { | 281 { |
282 serv_chat_leave(b->id); | |
283 | |
284 if (b->window) | 282 if (b->window) |
285 gtk_widget_destroy(b->window); | 283 gtk_widget_destroy(b->window); |
286 b->window = NULL; | 284 b->window = NULL; |
287 } | 285 |
286 serv_chat_leave(b->id); | |
287 } | |
288 | |
288 | 289 |
289 | 290 |
290 static void whisper_callback(GtkWidget *widget, struct buddy_chat *b) | 291 static void whisper_callback(GtkWidget *widget, struct buddy_chat *b) |
291 { | 292 { |
292 char buf[BUF_LEN*4]; | 293 char buf[BUF_LEN*4]; |