comparison src/aim.c @ 138:e8ea1e2fdf0c

[gaim-migrate @ 148] Bugfixes and memleaks mostly. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Wed, 19 Apr 2000 12:36:18 +0000
parents e277d5f0c1dd
children 436bead8f65d
comparison
equal deleted inserted replaced
137:fe81c8b4951d 138:e8ea1e2fdf0c
402 402
403 403
404 gtk_toggle_button_set_state(GTK_TOGGLE_BUTTON(remember), (general_options & OPT_GEN_REMEMBER_PASS)); 404 gtk_toggle_button_set_state(GTK_TOGGLE_BUTTON(remember), (general_options & OPT_GEN_REMEMBER_PASS));
405 405
406 if (current_user) { 406 if (current_user) {
407 GList *all = combo_user_names(); 407 GList *all = aim_users;
408 GList *srch = g_list_find(all, (void *)current_user->username); 408 GList *srch = g_list_find(all, (void *)current_user);
409 int length = g_list_length(all) - g_list_length(srch); 409 int length = g_list_length(all) - g_list_length(srch);
410 g_list_free(srch);
411 g_list_free(all);
412 410
413 gtk_combo_set_value_in_list(GTK_COMBO(name), length, 0); 411 gtk_combo_set_value_in_list(GTK_COMBO(name), length, 0);
414 if ((general_options & OPT_GEN_REMEMBER_PASS)) { 412 if ((general_options & OPT_GEN_REMEMBER_PASS)) {
415 gtk_entry_set_text(GTK_ENTRY(pass), current_user->password); 413 gtk_entry_set_text(GTK_ENTRY(pass), current_user->password);
416 } 414 }