view libgaim/plugins/mono/loader/status-glue.c @ 14225:eec43f2ef633

[gaim-migrate @ 16906] Make the gstreamer-devel BuildReq optional and restore some names in the %changelog committer: Tailor Script <tailor@pidgin.im>
author Stu Tomlinson <stu@nosnilmot.com>
date Sun, 20 Aug 2006 17:00:38 +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;
}