view libpurple/plugins/mono/loader/status-glue.c @ 15868:0946d187d55a

The last s/purple.sourceforge.net/pidgin.im/ in my local copy. This changes PURPLE_WEBSITE, so stuff should change in the UI all over the place.
author Richard Laager <rlaager@wiktel.com>
date Wed, 21 Mar 2007 08:50:24 +0000
parents 32c366eeeb99
children a8cc50c2279f
line wrap: on
line source

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

MonoObject* purple_status_build_status_object(void* data)
{
	MonoObject *obj = NULL;
	PurpleStatus *status = (PurpleStatus*)data;
	
	obj = ml_create_api_object("Status");
	g_return_val_if_fail(obj != NULL, NULL);
		
	ml_set_prop_string(obj, "Id", (char*)purple_status_get_id(status));
	
	return obj;
}