changeset 6763:362e60e7c265

[gaim-migrate @ 7295] this has been bugging me committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Sat, 06 Sep 2003 15:15:24 +0000
parents 818ce550d2ce
children 6d0d4e9149b9
files src/dialogs.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/dialogs.c	Sat Sep 06 01:57:18 2003 +0000
+++ b/src/dialogs.c	Sat Sep 06 15:15:24 2003 +0000
@@ -1015,7 +1015,7 @@
 	gtk_table_attach_defaults(GTK_TABLE(table), label, 0, 1, 3, 4);
 
 	a->account = gaim_gtk_account_option_menu_new(
-			gaim_connection_get_account(gc), FALSE,
+			gc ? gaim_connection_get_account(gc) : NULL, FALSE,
 			G_CALLBACK(addbuddy_select_account), NULL, a);
 
 	gtk_table_attach_defaults(GTK_TABLE(table), a->account, 1, 2, 3, 4);