Mercurial > pidgin.yaz
changeset 11733:ef511dec9903
[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 <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Sun, 23 Oct 2005 02:25:25 +0000 |
parents | 03c813a42c76 |
children | 2f6b4c544d5b |
files | src/gtkaccount.c src/savedstatuses.c |
diffstat | 2 files changed, 5 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- 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"
--- 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