# HG changeset patch # User Mark Doliner # Date 1130039484 0 # Node ID a14d72b6ca41099f7b2dd01d05944b05d8850ee2 # Parent 8d7c99f20e4c3e84cfeb4e1396883a7e62a8ca5f [gaim-migrate @ 14027] Get outta my debug window or I'll run ya through! committer: Tailor Script diff -r 8d7c99f20e4c -r a14d72b6ca41 src/account.c --- 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) { diff -r 8d7c99f20e4c -r a14d72b6ca41 src/prefs.c --- 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);