Mercurial > pidgin
changeset 6483:565339a6eb86
[gaim-migrate @ 6997]
debug_printf() is gone for good.
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Sun, 17 Aug 2003 07:38:31 +0000 |
parents | 16fcc379e484 |
children | 5ced8e111473 |
files | src/debug.c src/debug.h |
diffstat | 2 files changed, 2 insertions(+), 26 deletions(-) [+] |
line wrap: on
line diff
--- a/src/debug.c Sun Aug 17 03:30:00 2003 +0000 +++ b/src/debug.c Sun Aug 17 07:38:31 2003 +0000 @@ -5,7 +5,7 @@ * gaim * * Copyright (C) 2002-2003, Christian Hammond <chipx86@gnupdate.org> - * + * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or @@ -56,18 +56,6 @@ } void -debug_printf(const char *format, ...) -{ - va_list args; - - g_return_if_fail(format != NULL); - - va_start(args, format); - gaim_debug_vargs(GAIM_DEBUG_INFO, NULL, format, args); - va_end(args); -} - -void gaim_set_debug_ui_ops(GaimDebugUiOps *ops) { debug_ui_ops = ops;
--- a/src/debug.h Sun Aug 17 03:30:00 2003 +0000 +++ b/src/debug.h Sun Aug 17 07:38:31 2003 +0000 @@ -5,7 +5,7 @@ * gaim * * Copyright (C) 2002-2003, Christian Hammond <chipx86@gnupdate.org> - * + * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or @@ -81,18 +81,6 @@ void gaim_debug(GaimDebugLevel level, const char *category, const char *format, ...); -/** - * Outputs debug information. - * - * @deprecated This has been replaced with gaim_debug(), and will be - * removed in a future release. - * - * @param fmt The format string. - * - * @see gaim_debug() - */ -void debug_printf(const char *fmt, ...); - /*@}*/ /**************************************************************************/