view libgaim/plugins/mono/loader/debug-glue.c @ 14695:fa0c8fa2b5a7

[gaim-migrate @ 17447] Add a "Use" button in the status dialog. This has been sitting here for a while. I can't remember why this was not commited ... seems to work fine. committer: Tailor Script <tailor@pidgin.im>
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Sun, 08 Oct 2006 04:31:39 +0000
parents 60b1bc8dbf37
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);
}