# HG changeset patch # User Mark Doliner # Date 1093559294 0 # Node ID 18a787538ad2b4401f1e1fb290fa5bc46e386009 # Parent 694c80fc7c2ef201a6ad53bfc527e4172b6bd050 [gaim-migrate @ 10772] Two more small icon bleh fixes committer: Tailor Script diff -r 694c80fc7c2e -r 18a787538ad2 src/gtkconv.c --- a/src/gtkconv.c Thu Aug 26 22:10:43 2004 +0000 +++ b/src/gtkconv.c Thu Aug 26 22:28:14 2004 +0000 @@ -2466,8 +2466,8 @@ { g_return_if_fail(gtkconv != NULL); - if (gtkconv->u.im->icon != NULL) - gtk_widget_destroy(gtkconv->u.im->icon->parent->parent->parent); + if (gtkconv->u.im->icon_container != NULL) + gtk_widget_destroy(gtkconv->u.im->icon_container); if (gtkconv->u.im->anim != NULL) g_object_unref(G_OBJECT(gtkconv->u.im->anim)); @@ -5657,6 +5657,8 @@ if (gtkconv->u.im->anim != NULL) g_object_unref(G_OBJECT(gtkconv->u.im->anim)); + gtkconv->u.im->anim = NULL; + if (gtkconv->u.im->icon_timer != 0) g_source_remove(gtkconv->u.im->icon_timer);