changeset 32624:db91fbe37ae8

Remove an extra "fake" check.
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Mon, 26 Jul 2010 05:40:49 +0000
parents 14061184692c
children 7f1d9e806c66 787609e41f20
files pidgin/gtkaccount.c
diffstat 1 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/pidgin/gtkaccount.c	Mon Jul 26 05:38:41 2010 +0000
+++ b/pidgin/gtkaccount.c	Mon Jul 26 05:40:49 2010 +0000
@@ -245,7 +245,7 @@
 }
 
 static void
-set_account_protocol_cb(GtkWidget *item, const char *id,
+set_account_protocol_cb(GtkWidget *widget, const char *id,
 						AccountPrefsDialog *dialog)
 {
 	PurplePlugin *new_plugin;
@@ -271,8 +271,7 @@
 
 	gtk_widget_grab_focus(dialog->protocol_menu);
 
-	if (!dialog->prpl_info || !dialog->prpl_info->register_user ||
-	    g_object_get_data(G_OBJECT(item), "fake")) {
+	if (!dialog->prpl_info || !dialog->prpl_info->register_user) {
 		gtk_widget_hide(dialog->register_button);
 	} else {
 		if (dialog->prpl_info != NULL &&