changeset 10249:a7c8a8735a31

[gaim-migrate @ 11389] Remove some evidence of me being an idiot. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Tue, 23 Nov 2004 06:28:01 +0000
parents e7c0a9e0c276
children 89a25444401c
files src/gtkstatusselector.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/gtkstatusselector.c	Tue Nov 23 06:25:14 2004 +0000
+++ b/src/gtkstatusselector.c	Tue Nov 23 06:28:01 2004 +0000
@@ -198,7 +198,8 @@
 	selector = GAIM_GTK_STATUS_SELECTOR(obj);
 
 	gaim_signals_disconnect_by_handle(selector);
-	gaim_timeout_remove(selector->priv->entry_timer);
+	if (selector->priv->entry_timer != 0)
+		gaim_timeout_remove(selector->priv->entry_timer);
 
 	if (GTK_OBJECT_CLASS(parent_class)->destroy)
 		GTK_OBJECT_CLASS(parent_class)->destroy(obj);