changeset 16601:598b66923c81

hopefully fix 236
author Nathan Walp <nwalp@pidgin.im>
date Sat, 28 Apr 2007 23:40:08 +0000
parents c992cdb19fa9
children 60aae7ef3b7e
files pidgin/gtkconv.c
diffstat 1 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/pidgin/gtkconv.c	Sat Apr 28 22:52:42 2007 +0000
+++ b/pidgin/gtkconv.c	Sat Apr 28 23:40:08 2007 +0000
@@ -2370,8 +2370,13 @@
 
 	gtkconv = PIDGIN_CONVERSATION(conv);
 	account = purple_conversation_get_account(conv);
-	if(account && account->gc)
+
+	if(account && account->gc) {
 		prpl_info = PURPLE_PLUGIN_PROTOCOL_INFO(account->gc->prpl);
+	} else {
+		gtkconv->u.im->icon_timer = 0;
+		return FALSE;
+	}
 
 	gtkconv->auto_resize = TRUE;
 	g_idle_add(reset_auto_resize_cb, gtkconv);