# HG changeset patch # User Luke Schierer # Date 1134166275 0 # Node ID e683e751416053749474fc37d86814e16245bc02 # Parent 17d22e9367a8cc367ef197be3c6fda1a02f37795 [gaim-migrate @ 14754] should have done this first. forgot. sorry. committer: Tailor Script diff -r 17d22e9367a8 -r e683e7514160 src/gtkaccount.c --- a/src/gtkaccount.c Fri Dec 09 22:07:44 2005 +0000 +++ b/src/gtkaccount.c Fri Dec 09 22:11:15 2005 +0000 @@ -712,12 +712,12 @@ * box - it is set as a callback for the "Save Password" checkbox */ void toggle_password_visibility(GtkWidget *button, gpointer pwd_entry) { - if (gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(button))) { - gtk_widget_set_sensitive(pwd_entry, TRUE); - } else { - gtk_widget_set_sensitive(pwd_entry, FALSE); - } - gtk_widget_show(pwd_entry); + if (gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(button))) { + gtk_widget_set_sensitive(pwd_entry, TRUE); + } else { + gtk_widget_set_sensitive(pwd_entry, FALSE); + } + gtk_widget_show(pwd_entry); } static void @@ -830,7 +830,7 @@ dialog->password_entry = gtk_entry_new(); gtk_entry_set_visibility(GTK_ENTRY(dialog->password_entry), FALSE); gtk_entry_set_invisible_char(GTK_ENTRY(dialog->password_entry), GAIM_INVISIBLE_CHAR); - gtk_widget_set_sensitive(dialog->password_entry, FALSE); + gtk_widget_set_sensitive(dialog->password_entry, FALSE); dialog->password_box = add_pref_box(dialog, vbox, _("Password:"), dialog->password_entry); @@ -843,7 +843,7 @@ gtk_check_button_new_with_label(_("Remember password")); gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(dialog->remember_pass_check), FALSE); - g_signal_connect(G_OBJECT(dialog->remember_pass_check), "toggled", + g_signal_connect(G_OBJECT(dialog->remember_pass_check), "toggled", G_CALLBACK(toggle_password_visibility), (gpointer)dialog->password_entry); gtk_box_pack_start(GTK_BOX(vbox), dialog->remember_pass_check,