view libgaim/plugins/mono/loader/debug-glue.c @ 15151:d1014e749b4e

[gaim-migrate @ 17937] Pass the password for the account, if one has been specified, to gaim_connection_new() when doing an account registration request. This allows autofilling of the password field if a subsequent dialogue is displayed (as with Jabber). committer: Tailor Script <tailor@pidgin.im>
author Evan Schoenberg <evan.s@dreskin.net>
date Sun, 10 Dec 2006 05:55:02 +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);
}