# HG changeset patch # User Christian Hammond # Date 1061240463 0 # Node ID 8ce66049ce68be3baedf97118d62bf616cb662dd # Parent 4f93f10ddc75e2569eb8d30445aa2e1a7342e239 [gaim-migrate @ 7010] Conversation windows were crashing if no accounts were signed on. Fixed. committer: Tailor Script diff -r 4f93f10ddc75 -r 8ce66049ce68 src/gtkconv.c --- a/src/gtkconv.c Mon Aug 18 17:50:24 2003 +0000 +++ b/src/gtkconv.c Mon Aug 18 21:01:03 2003 +0000 @@ -2284,7 +2284,7 @@ conv = (GaimConversation *)convs->data; account = gaim_conversation_get_account(conv); - if (account->gc == NULL) { + if (account != NULL && account->gc == NULL) { found_offline = TRUE; break; } @@ -2395,8 +2395,7 @@ account = gaim_conversation_get_account(conv); - - if (account && (account->gc == NULL)) { + if (account != NULL && account->gc == NULL) { if (first_offline && found_online) { menuitem = gtk_separator_menu_item_new(); gtk_widget_show(menuitem);