Sat, 16 Dec 2006 04:59:55 +0000
This is a hand-crafted commit to migrate across subversion revisions
16854:16861, due to some vagaries of the way the original renames were
done. Witness that monotone can do in one revision what svn had to
spread across several.
| 11980 | 1 | #include "status.h" |
| 2 | #include "mono-helper.h" | |
|
12442
de1895ff7709
[gaim-migrate @ 14749]
Stu Tomlinson <nosnilmot@pidgin.im>
parents:
11996
diff
changeset
|
3 | #include "mono-glue.h" |
| 11980 | 4 | |
| 5 | MonoObject* gaim_status_build_status_object(void* data) | |
| 6 | { | |
| 7 | MonoObject *obj = NULL; | |
| 8 | GaimStatus *status = (GaimStatus*)data; | |
| 9 | ||
|
11996
858bd928831c
[gaim-migrate @ 14289]
Eoin Coffey <ecoffey@soc.pidgin.im>
parents:
11980
diff
changeset
|
10 | obj = ml_create_api_object("Status"); |
|
858bd928831c
[gaim-migrate @ 14289]
Eoin Coffey <ecoffey@soc.pidgin.im>
parents:
11980
diff
changeset
|
11 | g_return_val_if_fail(obj != NULL, NULL); |
|
858bd928831c
[gaim-migrate @ 14289]
Eoin Coffey <ecoffey@soc.pidgin.im>
parents:
11980
diff
changeset
|
12 | |
| 11980 | 13 | ml_set_prop_string(obj, "Id", (char*)gaim_status_get_id(status)); |
| 14 | ||
| 15 | return obj; | |
| 16 | } |