view plugins/mono/loader/debug-glue.c @ 11737:3959c29f340f

[gaim-migrate @ 14028] This isn't customizable yet, but that's looking uglier than I like. This should still help people like Sean with problems seeing certain colors. I picked what made sense to me, people please change things if you think differently. committer: Tailor Script <tailor@pidgin.im>
author Etan Reisner <pidgin@unreliablesource.net>
date Sun, 23 Oct 2005 03:57:10 +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);
}