Mercurial > pidgin
changeset 11736:a14d72b6ca41
[gaim-migrate @ 14027]
Get outta my debug window or I'll run ya through!
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Sun, 23 Oct 2005 03:51:24 +0000 |
parents | 8d7c99f20e4c |
children | 3959c29f340f |
files | src/account.c src/prefs.c |
diffstat | 2 files changed, 2 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/src/account.c Sun Oct 23 03:24:53 2005 +0000 +++ b/src/account.c Sun Oct 23 03:51:24 2005 +0000 @@ -1375,9 +1375,6 @@ g_return_if_fail(account != NULL); g_return_if_fail(status_id != NULL); - gaim_debug_info("account", "Changing status for %s, setting %s to %d\n", - gaim_account_get_username(account), status_id, active); - status = gaim_account_get_status(account, status_id); if (status == NULL) {
--- a/src/prefs.c Sun Oct 23 03:24:53 2005 +0000 +++ b/src/prefs.c Sun Oct 23 03:51:24 2005 +0000 @@ -936,8 +936,6 @@ { struct gaim_pref *oldpref, *newpref; - gaim_debug_info("prefs", "Attempting to rename and toggle %s to %s\n", oldname, newname); - oldpref = find_pref(oldname); newpref = find_pref(newname); @@ -945,6 +943,8 @@ if(!oldpref) return; + gaim_debug_info("prefs", "Renaming and toggling %s to %s\n", oldname, newname); + g_return_if_fail(newpref != NULL); /* the new one needs to be created */ g_return_if_fail(oldpref->type == newpref->type); g_return_if_fail(oldpref->type == GAIM_PREF_BOOLEAN);