Mercurial > pidgin.yaz
view plugins/mono/loader/status-glue.c @ 14020:13e7ba964993
[gaim-migrate @ 16617]
Minor tweaks to the context-menu in the buddylist.
committer: Tailor Script <tailor@pidgin.im>
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Wed, 02 Aug 2006 13:37:13 +0000 |
parents | 8edb08af68c7 |
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; }