comparison src/gtkconv.c @ 4755:54fbd9769677

[gaim-migrate @ 5072] This fixes the debug window. It's probably not an ideal fix, but it works. Some kind of core/ui splittage here would be nice. I also made the gtk convo destroy function remove the timer to redraw animated buddy icons, if it exists. This doesn't really affect anything, since the redraw function checks to make sure the convo exists, but it's probably more better this way. Also, I meant to misspell "definitely." Really. I did. You don't believe me? It's ok, I wouldn't believe me either. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Thu, 13 Mar 2003 22:57:58 +0000
parents d3c09ddfd3aa
children c4ebe1a8484b
comparison
equal deleted inserted replaced
4754:ced41239ffd3 4755:54fbd9769677
3736 gtk_widget_destroy(gtkconv->dialogs.log); 3736 gtk_widget_destroy(gtkconv->dialogs.log);
3737 3737
3738 gtk_widget_destroy(gtkconv->tab_cont); 3738 gtk_widget_destroy(gtkconv->tab_cont);
3739 3739
3740 if (gaim_conversation_get_type(conv) == GAIM_CONV_IM) { 3740 if (gaim_conversation_get_type(conv) == GAIM_CONV_IM) {
3741 if (gtkconv->u.im->icon_timer != 0)
3742 g_source_remove(gtkconv->u.im->icon_timer);
3743
3741 if (gtkconv->u.im->save_icon != NULL) 3744 if (gtkconv->u.im->save_icon != NULL)
3742 gtk_widget_destroy(gtkconv->u.im->save_icon); 3745 gtk_widget_destroy(gtkconv->u.im->save_icon);
3743 3746
3744 if (gtkconv->u.im->anim != NULL) 3747 if (gtkconv->u.im->anim != NULL)
3745 gdk_pixbuf_animation_unref(gtkconv->u.im->anim); 3748 gdk_pixbuf_animation_unref(gtkconv->u.im->anim);