diff src/gtkaccount.c @ 5663:e9551e7d6f01

[gaim-migrate @ 6077] I messed up on those checks. Now the warnings are gone, and the correct values are being returned, except for Jabber, but I'll figure that out in a second or two. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Mon, 02 Jun 2003 10:03:03 +0000
parents 937d5554021e
children 7867ae4836ac
line wrap: on
line diff
--- a/src/gtkaccount.c	Mon Jun 02 09:59:35 2003 +0000
+++ b/src/gtkaccount.c	Mon Jun 02 10:03:03 2003 +0000
@@ -452,7 +452,9 @@
 					gaim_account_option_get_default_string(option));
 
 				entry = gtk_entry_new();
-				gtk_entry_set_text(GTK_ENTRY(entry), str_value);
+
+				if (str_value != NULL)
+					gtk_entry_set_text(GTK_ENTRY(entry), str_value);
 
 				title = g_strdup_printf("%s:",
 						gaim_account_option_get_text(option));