changeset 5662:937d5554021e

[gaim-migrate @ 6076] Aww, I screwed everything up. Now the user splits should work again. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Mon, 02 Jun 2003 09:59:35 +0000
parents b596002ff81e
children e9551e7d6f01
files src/gtkaccount.c
diffstat 1 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/src/gtkaccount.c	Mon Jun 02 09:48:19 2003 +0000
+++ b/src/gtkaccount.c	Mon Jun 02 09:59:35 2003 +0000
@@ -153,8 +153,6 @@
 	GtkWidget *frame;
 	GtkWidget *vbox;
 	GtkWidget *entry;
-	GaimPlugin *plugin = NULL;
-	GaimPluginProtocolInfo *prpl_info = NULL;
 	GList *user_splits;
 	GList *split_entries = NULL;
 	GList *l, *l2;
@@ -189,10 +187,10 @@
 	__add_pref_box(dialog, vbox, _("Screenname:"), dialog->screenname_entry);
 
 	/* Do the user split thang */
-	if (plugin == NULL) /* Yeah right. */
+	if (dialog->plugin == NULL) /* Yeah right. */
 		user_splits = NULL;
 	else
-		user_splits = prpl_info->user_splits;
+		user_splits = dialog->prpl_info->user_splits;
 
 	if (dialog->account != NULL)
 		username = g_strdup(gaim_account_get_username(dialog->account));
@@ -288,7 +286,9 @@
 				GTK_TOGGLE_BUTTON(dialog->auto_login_check), FALSE);
 	}
 
-	if (prpl_info != NULL && (prpl_info->options & OPT_PROTO_NO_PASSWORD)) {
+	if (dialog->prpl_info != NULL &&
+		(dialog->prpl_info->options & OPT_PROTO_NO_PASSWORD)) {
+
 		gtk_widget_hide(dialog->password_entry);
 		gtk_widget_hide(dialog->remember_pass_check);
 	}