# HG changeset patch # User Mark Doliner # Date 1130034325 0 # Node ID ef511dec990395e2b8b9e70e997b425b10552806 # Parent 03c813a42c762dbe1b2c53e91bcc4451063087a5 [gaim-migrate @ 14024] The include in gtkaccount isn't used anymore, now that we're using tabs (yay) And marv's doco change made me realize I wasn't freeing a glist (yay) committer: Tailor Script diff -r 03c813a42c76 -r ef511dec9903 src/gtkaccount.c --- a/src/gtkaccount.c Sun Oct 23 01:42:01 2005 +0000 +++ b/src/gtkaccount.c Sun Oct 23 02:25:25 2005 +0000 @@ -39,7 +39,6 @@ #include "signals.h" #include "util.h" -#include "gtkgaim-disclosure.h" #include "gtkaccount.h" #include "gtkblist.h" #include "gtkdialogs.h" diff -r 03c813a42c76 -r ef511dec9903 src/savedstatuses.c --- a/src/savedstatuses.c Sun Oct 23 01:42:01 2005 +0000 +++ b/src/savedstatuses.c Sun Oct 23 02:25:25 2005 +0000 @@ -501,20 +501,21 @@ void gaim_savedstatus_activate(const GaimSavedStatus *saved_status) { - GList *accounts; + GList *accounts, *node; g_return_if_fail(saved_status != NULL); accounts = gaim_accounts_get_all_active(); - while (accounts != NULL) + for (node = accounts; node != NULL; node = node->next) { GaimAccount *account; - account = accounts->data; + account = node->data; gaim_savedstatus_activate_for_account(saved_status, account); - accounts = accounts->next; } + + g_list_free(accounts); } void