Mercurial > pidgin.yaz
diff src/aim.c @ 94:9f6ce50ffb78
[gaim-migrate @ 104]
Woohoo, the landing of the plugins. Nearly everything necessary is here. The
only thing missing is that you can't load a plugin without signing on first
(at least, not without some trickery).
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Sun, 09 Apr 2000 11:18:25 +0000 |
parents | 2cae618a91e2 |
children | 247f540ea6e1 |
line wrap: on
line diff
--- a/src/aim.c Sun Apr 09 08:25:15 2000 +0000 +++ b/src/aim.c Sun Apr 09 11:18:25 2000 +0000 @@ -153,6 +153,23 @@ signoff, NULL); #endif + +#ifdef GAIM_PLUGINS + { + GList *c = callbacks; + struct gaim_callback *g; + void (*function)(void *); + while (c) { + g = (struct gaim_callback *)c->data; + if (g->event == event_signon && g->function != NULL) { + function = g->function; + (*function)(g->data); + } + c = c->next; + } + } +#endif + running = FALSE; return; }