changeset 5711:e33778b9d395

[gaim-migrate @ 6132] The screenname field can be modified again. That's my last fix of the night, ladies and gentlemen. I hope you enjoyed your stay at Chip's Commits. Now I sleep, for I am up way past the time I should have gone to bed. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Tue, 03 Jun 2003 11:45:49 +0000
parents dbac958d8937
children 70244e66e65e
files src/account.c src/gtkaccount.c
diffstat 2 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/account.c	Tue Jun 03 11:42:13 2003 +0000
+++ b/src/account.c	Tue Jun 03 11:45:49 2003 +0000
@@ -180,7 +180,7 @@
 void
 gaim_account_set_username(GaimAccount *account, const char *username)
 {
-	g_return_if_fail(account  != NULL);
+	g_return_if_fail(account != NULL);
 
 	if (account->username != NULL)
 		g_free(account->username);
--- a/src/gtkaccount.c	Tue Jun 03 11:42:13 2003 +0000
+++ b/src/gtkaccount.c	Tue Jun 03 11:45:49 2003 +0000
@@ -839,7 +839,8 @@
 		gaim_account_set_password(dialog->account, NULL);
 
 	/* Build the username string. */
-	username = g_strdup(gaim_account_get_username(dialog->account));
+	username =
+		g_strdup(gtk_entry_get_text(GTK_ENTRY(dialog->screenname_entry)));
 
 	for (l = dialog->prpl_info->user_splits, l2 = dialog->user_split_entries;
 		 l != NULL && l2 != NULL;