comparison 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
comparison
equal deleted inserted replaced
5662:937d5554021e 5663:e9551e7d6f01
450 str_value = gaim_account_get_string(dialog->account, 450 str_value = gaim_account_get_string(dialog->account,
451 gaim_account_option_get_setting(option), 451 gaim_account_option_get_setting(option),
452 gaim_account_option_get_default_string(option)); 452 gaim_account_option_get_default_string(option));
453 453
454 entry = gtk_entry_new(); 454 entry = gtk_entry_new();
455 gtk_entry_set_text(GTK_ENTRY(entry), str_value); 455
456 if (str_value != NULL)
457 gtk_entry_set_text(GTK_ENTRY(entry), str_value);
456 458
457 title = g_strdup_printf("%s:", 459 title = g_strdup_printf("%s:",
458 gaim_account_option_get_text(option)); 460 gaim_account_option_get_text(option));
459 461
460 __add_pref_box(dialog, vbox, title, entry); 462 __add_pref_box(dialog, vbox, title, entry);