comparison 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
comparison
equal deleted inserted replaced
11934:525cf7ecd919 11935:cb73483c9f63
637 guint arg2 = va_arg(args, guint); 637 guint arg2 = va_arg(args, guint);
638 638
639 ((void (*)(void *, guint, void *))cb)(arg1, arg2, data); 639 ((void (*)(void *, guint, void *))cb)(arg1, arg2, data);
640 } 640 }
641 641
642 void gaim_marshal_VOID__POINTER_INT_INT(GaimCallback cb, va_list args,
643 void *data, void **return_val)
644 {
645 void *arg1 = va_arg(args, void *);
646 gint arg2 = va_arg(args, gint);
647 gint arg3 = va_arg(args, gint);
648
649 ((void (*)(void *, gint, gint, void *))cb)(arg1, arg2, arg3, data);
650 }
651
642 void 652 void
643 gaim_marshal_VOID__POINTER_POINTER(GaimCallback cb, va_list args, 653 gaim_marshal_VOID__POINTER_POINTER(GaimCallback cb, va_list args,
644 void *data, void **return_val) 654 void *data, void **return_val)
645 { 655 {
646 void *arg1 = va_arg(args, void *); 656 void *arg1 = va_arg(args, void *);