src/gtkblist.c

changeset 10127
3ea502c95653
parent 10118
3e672eabe428
child 10129
883d96d18b0a
--- a/src/gtkblist.c	Tue Oct 19 05:17:14 2004 +0000
+++ b/src/gtkblist.c	Tue Oct 19 18:37:24 2004 +0000
@@ -660,6 +660,8 @@
 	struct proto_chat_entry *pce;
 	gboolean focus = TRUE;
 
+	g_return_if_fail(data->account != NULL);
+
 	gc = gaim_account_get_connection(data->account);
 
 	while (GTK_BOX(data->entries_box)->children)
@@ -4146,6 +4148,8 @@
 	struct proto_chat_entry *pce;
 	gboolean focus = TRUE;
 
+	g_return_if_fail(data->account != NULL);
+
 	gc = gaim_account_get_connection(data->account);
 
 	while (GTK_BOX(data->entries_box)->children)

mercurial