changeset 5983:e0be64ced3d7

[gaim-migrate @ 6431] The ticker no longer tries to destroy a NULL window. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Wed, 02 Jul 2003 08:31:36 +0000
parents 35d3c1ac5ece
children c55b32640690
files plugins/ticker/ticker.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/ticker/ticker.c	Wed Jul 02 06:04:49 2003 +0000
+++ b/plugins/ticker/ticker.c	Wed Jul 02 08:31:36 2003 +0000
@@ -254,7 +254,8 @@
 		tickerbuds = g_list_delete_link(tickerbuds, tickerbuds);
 	}
 
-	gtk_widget_destroy(tickerwindow);
+	if (tickerwindow != NULL)
+		gtk_widget_destroy(tickerwindow);
 
 	return TRUE;
 }