diff pidgin/gtkconv.c @ 16604:598b66923c81

hopefully fix 236
author Nathan Walp <nwalp@pidgin.im>
date Sat, 28 Apr 2007 23:40:08 +0000
parents 99bf55ec6ca4
children fbf111436896
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);