changeset 6506:b6f7fcafc908

[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>
author Ethan Blanton <elb@pidgin.im>
date Tue, 19 Aug 2003 20:43:11 +0000
parents 5ca59294698d
children c8e31153eea7
files src/blist.c src/server.c
diffstat 2 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- 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);
--- 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);
 	}