Mercurial > pidgin.yaz
diff src/signals.c @ 11935:cb73483c9f63
[gaim-migrate @ 14226]
Here are buddy-status-changed and buddy-idle-changed signals, to replace
buddy-away, buddy-back, buddy-idle, and buddy-unidle. It it now possible to
detect when a buddy goes from one away-state to another away-state without
coming back in between.
I'm not really sure I like how buddy-idle-changed works here, but it felt
better to keep it consistent. It currently only fires on idle and unidle and
not on just-more-idle, though that's easy to change if we decide plugins might
want to know as idle time increases.
I think I got all the doxygen and ChangeLog.API stuff, someone yell if I
missed something.
committer: Tailor Script <tailor@pidgin.im>
author | Etan Reisner <pidgin@unreliablesource.net> |
---|---|
date | Mon, 31 Oct 2005 22:02:30 +0000 |
parents | bb0d7b719af2 |
children | 5bc3d67ceb24 |
line wrap: on
line diff
--- a/src/signals.c Mon Oct 31 20:35:59 2005 +0000 +++ b/src/signals.c Mon Oct 31 22:02:30 2005 +0000 @@ -639,6 +639,16 @@ ((void (*)(void *, guint, void *))cb)(arg1, arg2, data); } +void gaim_marshal_VOID__POINTER_INT_INT(GaimCallback cb, va_list args, + void *data, void **return_val) +{ + void *arg1 = va_arg(args, void *); + gint arg2 = va_arg(args, gint); + gint arg3 = va_arg(args, gint); + + ((void (*)(void *, gint, gint, void *))cb)(arg1, arg2, arg3, data); +} + void gaim_marshal_VOID__POINTER_POINTER(GaimCallback cb, va_list args, void *data, void **return_val)