comparison src/gtkaccount.c @ 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 3ad0e7351826
children 845a0dd5ca45
comparison
equal deleted inserted replaced
10966:8ae471231a6e 10967:77d26d0b7a0a
1547 gaim_signal_emit(gaim_gtk_account_get_handle(), "account-modified", ret); 1547 gaim_signal_emit(gaim_gtk_account_get_handle(), "account-modified", ret);
1548 1548
1549 /* XXX: make the new account sign on with the currently active global status 1549 /* XXX: make the new account sign on with the currently active global status
1550 * instead of hardcoding "online" */ 1550 * instead of hardcoding "online" */
1551 if (new) 1551 if (new)
1552 gaim_presence_set_status_active(dialog->account->presence, "online", TRUE); 1552 gaim_presence_set_status_active(ret->presence, "online", TRUE);
1553 1553
1554 return ret; 1554 return ret;
1555 } 1555 }
1556 1556
1557 static void 1557 static void