changeset 5852:daac2e9a1b0b

[gaim-migrate @ 6283] Compile before commit, compile before commit, compile before commit... committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Fri, 13 Jun 2003 09:42:07 +0000
parents 023fd44672d8
children 3ed4c7df2f41
files src/gtkaccount.c
diffstat 1 files changed, 2 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/src/gtkaccount.c	Fri Jun 13 09:29:01 2003 +0000
+++ b/src/gtkaccount.c	Fri Jun 13 09:42:07 2003 +0000
@@ -32,6 +32,7 @@
 #include "accountopt.h"
 #include "event.h"
 #include "prefs.h"
+#include "plugin.h"
 #include "stock.h"
 #include "gtkblist.h"
 #include "gaim-disclosure.h"
@@ -1065,14 +1066,6 @@
 		gaim_accounts_add(dialog->account);
 	}
 
-	/* See if we want to register with a server now. */
-	if (dialog->prpl_info->register_user != NULL &&
-		gtk_toggle_button_get_active(
-				GTK_TOGGLE_BUTTON(dialog->register_check))) {
-
-		dialog->prpl_info->register_user(dialog->account);
-	}
-
 	gtk_widget_destroy(dialog->window);
 
 	account_win_destroy_cb(NULL, NULL, dialog);
@@ -1084,7 +1077,7 @@
 register_account_prefs_cb(GtkWidget *w, AccountPrefsDialog *dialog)
 {
 	GaimAccount *account = dialog->account;
-	GaimProtocolPluginInfo *prpl_info = dialog->prpl_info;
+	GaimPluginProtocolInfo *prpl_info = dialog->prpl_info;
 
 	ok_account_prefs_cb(NULL, dialog);