Mercurial > pidgin
comparison src/conversation.c @ 814:a636ac51d15b
[gaim-migrate @ 824]
i think i finally fixed the chat problems with oscar.
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Thu, 31 Aug 2000 21:33:12 +0000 |
parents | 9d61f3d01046 |
children | 4544fe6c492f |
comparison
equal
deleted
inserted
replaced
813:d06bed40a86b | 814:a636ac51d15b |
---|---|
348 return; | 348 return; |
349 } | 349 } |
350 | 350 |
351 int close_callback(GtkWidget *widget, struct conversation *c) | 351 int close_callback(GtkWidget *widget, struct conversation *c) |
352 { | 352 { |
353 if (c->is_chat && (widget == c->close)) { | |
354 GtkWidget *tmp = c->window; | |
355 debug_print("chat clicked close button\n"); | |
356 c->window = NULL; | |
357 gtk_widget_destroy(tmp); | |
358 return; | |
359 } | |
360 | |
361 debug_print("conversation close callback\n"); | |
362 | |
353 if (c->window) | 363 if (c->window) |
354 gtk_widget_destroy(c->window); | 364 gtk_widget_destroy(c->window); |
355 c->window = NULL; | 365 c->window = NULL; |
356 | 366 |
357 if (c->color_dialog) | 367 if (c->color_dialog) |