diff src/gtkconn.c @ 11536:16796e09b9c1

[gaim-migrate @ 13790] GaimBuddy->uc is gone! at last! (it survived probably > 5 years). You'll want to make sure any plugins that make use of GaimBuddy in any way are recompiled, otherwise you'll have el-bizarro crashes. You probably want to make sure you make clean && make && make install too. Maybe reformatting your hard disk to remove any references to uc would be a good idea too. committer: Tailor Script <tailor@pidgin.im>
author Stu Tomlinson <stu@nosnilmot.com>
date Wed, 14 Sep 2005 00:54:21 +0000
parents 1116993aadd2
children 5909ea4e7746
line wrap: on
line diff
--- a/src/gtkconn.c	Tue Sep 13 21:14:58 2005 +0000
+++ b/src/gtkconn.c	Wed Sep 14 00:54:21 2005 +0000
@@ -69,7 +69,8 @@
 	gtk_gaim_status_box_set_connecting(GTK_GAIM_STATUS_BOX(gtkblist->statusbox),
 					   (gaim_connections_get_connecting() != NULL));
 	account = gaim_connection_get_account(gc);
-	g_hash_table_remove(hash, account);
+	if (hash != NULL)
+		g_hash_table_remove(hash, account);
 	if (accountReconnecting == NULL)
 		return;
 	accountReconnecting = g_slist_remove(accountReconnecting, account);