view libgaim/plugins/mono/loader/status-glue.c @ 14969:ad564b48dab0

[gaim-migrate @ 17747] AIM and ICQ are now different prpls, linked against a liboscarcommon which contains the protocol implementation committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Tue, 14 Nov 2006 04:04:04 +0000
parents 60b1bc8dbf37
children
line wrap: on
line source

#include "status.h"
#include "mono-helper.h"
#include "mono-glue.h"

MonoObject* gaim_status_build_status_object(void* data)
{
	MonoObject *obj = NULL;
	GaimStatus *status = (GaimStatus*)data;
	
	obj = ml_create_api_object("Status");
	g_return_val_if_fail(obj != NULL, NULL);
		
	ml_set_prop_string(obj, "Id", (char*)gaim_status_get_id(status));
	
	return obj;
}