view plugins/mono/loader/debug-glue.c @ 13775:9726dbf3d844

[gaim-migrate @ 16187] SVN fails to compile for some people (Luke, and the submitter of 1489421 at least). It worked for me and then didn't. Maybe I was looking at different trees? Anyway, this seems to fix it for me. We really need to cleanup the DBus stuff. committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Tue, 16 May 2006 15:43:45 +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);
}