# HG changeset patch
# User Ethan Blanton <elb@pidgin.im>
# Date 1061325791 0
# Node ID b6f7fcafc908cfd9cb4883cc5387bcf8a89d9ced
# Parent  5ca59294698dd99c21d174e22475bb9fbbe87de4
[gaim-migrate @ 7023]
The buddy-idle and buddy-unidle events now take only a struct buddy
(and not a GaimAccount) as appears to have originally been intended.

committer: Tailor Script <tailor@pidgin.im>

diff -r 5ca59294698d -r b6f7fcafc908 src/blist.c
--- a/src/blist.c	Tue Aug 19 19:46:58 2003 +0000
+++ b/src/blist.c	Tue Aug 19 20:43:11 2003 +0000
@@ -2107,9 +2107,9 @@
 	gaim_signal_register(handle, "buddy-back", gaim_marshal_VOID__POINTER);
 
 	gaim_signal_register(handle, "buddy-idle",
-						 gaim_marshal_VOID__POINTER_POINTER);
+						 gaim_marshal_VOID__POINTER);
 	gaim_signal_register(handle, "buddy-unidle",
-						 gaim_marshal_VOID__POINTER_POINTER);
+						 gaim_marshal_VOID__POINTER);
 
 	gaim_signal_register(handle, "buddy-signed-on",
 						 gaim_marshal_VOID__POINTER);
diff -r 5ca59294698d -r b6f7fcafc908 src/server.c
--- a/src/server.c	Tue Aug 19 19:46:58 2003 +0000
+++ b/src/server.c	Tue Aug 19 20:43:11 2003 +0000
@@ -1124,11 +1124,11 @@
 
 	if (!b->idle && idle) {
 		gaim_pounce_execute(gc->account, b->name, GAIM_POUNCE_IDLE);
-		gaim_signal_emit(gaim_blist_get_handle(), "buddy-idle", account, b);
+		gaim_signal_emit(gaim_blist_get_handle(), "buddy-idle", b);
 		system_log(log_idle, gc, b, OPT_LOG_BUDDY_IDLE);
 	} else if (b->idle && !idle) {
 		gaim_pounce_execute(gc->account, b->name, GAIM_POUNCE_IDLE_RETURN);
-		gaim_signal_emit(gaim_blist_get_handle(), "buddy-unidle", account, b);
+		gaim_signal_emit(gaim_blist_get_handle(), "buddy-unidle", b);
 		system_log(log_unidle, gc, b, OPT_LOG_BUDDY_IDLE);
 	}