plugins/perl/common/Debug.xs

Sun, 11 Jun 2006 19:05:45 +0000

author
Brian Chu <roast@users.sourceforge.net>
date
Sun, 11 Jun 2006 19:05:45 +0000
changeset 13824
3e29de65083a
parent 13191
6c98c6130701
permissions
-rw-r--r--

[gaim-migrate @ 16257]
SF Patch #1504436 from roast, with changes by me

"gaim_gtkdialogs_log() doesn't set initial account
value, but shows an initial account. This is confusing
because if the user does not use the hint list to
select an account (e.g. he types a name in),
gaim_gtkdialogs_log_cb() services an empty call.

This patch fixes this."

committer: Richard Laager <rlaager@pidgin.im>

#include "module.h"

MODULE = Gaim::Debug  PACKAGE = Gaim::Debug  PREFIX = gaim_debug_
PROTOTYPES: ENABLE

void
gaim_debug(level, category, string)
	Gaim::DebugLevel level
	const char *category
	const char *string

void
gaim_debug_misc(category, string)
	const char *category
	const char *string

void
gaim_debug_info(category, string)
	const char *category
	const char *string

void
gaim_debug_warning(category, string)
	const char *category
	const char *string

void
gaim_debug_error(category, string)
	const char *category
	const char *string

void
gaim_debug_fatal(category, string)
	const char *category
	const char *string

void
gaim_debug_set_enabled(enabled)
	gboolean enabled

gboolean
gaim_debug_is_enabled()

mercurial