Mercurial > pidgin.yaz
changeset 5230:779ffffb584a
[gaim-migrate @ 5600]
Slight API name change.
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Sat, 26 Apr 2003 18:09:45 +0000 |
parents | 8aafe8d7bcb8 |
children | b5f912af996e |
files | src/event.c src/event.h |
diffstat | 2 files changed, 13 insertions(+), 12 deletions(-) [+] |
line wrap: on
line diff
--- a/src/event.c Sat Apr 26 18:01:47 2003 +0000 +++ b/src/event.c Sat Apr 26 18:09:45 2003 +0000 @@ -160,6 +160,12 @@ } } +GList * +gaim_signals_get_callbacks(void) +{ + return callbacks; +} + int gaim_event_broadcast(GaimEvent event, ...) { @@ -408,9 +414,4 @@ return buf; } -GList * -gaim_get_callbacks(void) -{ - return callbacks; -}
--- a/src/event.h Sat Apr 26 18:01:47 2003 +0000 +++ b/src/event.h Sat Apr 26 18:09:45 2003 +0000 @@ -118,6 +118,13 @@ void gaim_signals_unregister_broadcast_func(GaimSignalBroadcastFunc func); /** + * Returns a list of all signal callbacks. + * + * @return A list of all signal callbacks. + */ +GList *gaim_signals_get_callbacks(void); + +/** * Broadcasts an event to all registered signal handlers. * * @param event The event to broadcast @@ -136,11 +143,4 @@ */ const char *gaim_event_get_name(GaimEvent event); -/** - * Returns a list of all signal callbacks. - * - * @return A list of all signal callbacks. - */ -GList *gaim_get_callbacks(void); - #endif /* _GAIM_EVENT_H_ */