changeset 9887:18a787538ad2

[gaim-migrate @ 10772] Two more small icon bleh fixes committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Thu, 26 Aug 2004 22:28:14 +0000
parents 694c80fc7c2e
children ef5543c8a664
files src/gtkconv.c
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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);