changeset 10967:77d26d0b7a0a

[gaim-migrate @ 12788] sean: If it fixes it, commit it and add "Chris Toshok" to COPYRIGHT if he's not already there. egeis: alright Fixes a segfault logging in with a new account committer: Tailor Script <tailor@pidgin.im>
author Christopher O'Brien <siege@pidgin.im>
date Sun, 05 Jun 2005 02:40:19 +0000
parents 8ae471231a6e
children e0d5038fbb7e
files COPYRIGHT src/gtkaccount.c
diffstat 2 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/COPYRIGHT	Sat Jun 04 23:03:14 2005 +0000
+++ b/COPYRIGHT	Sun Jun 05 02:40:19 2005 +0000
@@ -27,6 +27,7 @@
 Graham Booker
 Craig Boston
 Chris Boyle
+Chris Toshok
 Derrick J Brashear
 Matt Brenneke
 Jeremy Brooks
--- a/src/gtkaccount.c	Sat Jun 04 23:03:14 2005 +0000
+++ b/src/gtkaccount.c	Sun Jun 05 02:40:19 2005 +0000
@@ -1549,7 +1549,7 @@
 	/* XXX: make the new account sign on with the currently active global status
 	 * instead of hardcoding "online" */
 	if (new)
-		gaim_presence_set_status_active(dialog->account->presence, "online", TRUE);
+		gaim_presence_set_status_active(ret->presence, "online", TRUE);
 
 	return ret;
 }