view plugins/mono/loader/debug-glue.c @ 11984:59494e5f7fdf

[gaim-migrate @ 14277] Better default account values (read in the username from /etc/passwd... not sure what'll happen with this on Windows. I imagine it'll get the username from the sytem somewhere?) for Bonjour, and I think I fixed a crash when adding two Bonjour accounts on the same computer. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sat, 05 Nov 2005 20:45:35 +0000
parents a3302d271199
children
line wrap: on
line source

#include "mono-glue.h"
#include "debug.h"

void gaim_debug_glue(int type, MonoString *cat, MonoString *str)
{
	char *ccat;
	char *cstr;
	
	ccat = mono_string_to_utf8(cat);
	cstr = mono_string_to_utf8(str);
	
	gaim_debug(type, ccat, cstr);
	
	g_free(ccat);
	g_free(cstr);
}