view plugins/mono/loader/debug-glue.c @ 12493:ee1944ebda45

[gaim-migrate @ 14805] I'm backing out Joshua's patch that 'fixed' creating a new account without saving the password because the bug it was fixing was already fixed. Creating an account and specifying the password does actually connect the first time, which I think was the consenus for what is expected to happen. committer: Tailor Script <tailor@pidgin.im>
author Stu Tomlinson <stu@nosnilmot.com>
date Fri, 16 Dec 2005 01:55:09 +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);
}