Mercurial > pidgin
view libpurple/plugins/mono/loader/status-glue.c @ 24070:f23d1643808e
Uniquify auto-accepted file names to foo-2.tar.gz, not foo.tar.gz-2.
Fixes a recently-filed bug whose number I didn't look up before getting onto
the train.
author | Will Thompson <will.thompson@collabora.co.uk> |
---|---|
date | Fri, 05 Sep 2008 14:32:00 +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; }