Mercurial > pidgin
comparison src/server.c @ 115:890cfb7d8fdb
[gaim-migrate @ 125]
Added event_blist_update to plugins.
committer: Tailor Script <tailor@pidgin.im>
| author | Eric Warmenhoven <eric@warmenhoven.org> |
|---|---|
| date | Fri, 14 Apr 2000 08:30:39 +0000 |
| parents | a9aa982272f9 |
| children | 4e91b92f91a7 |
comparison
equal
deleted
inserted
replaced
| 114:668727c82810 | 115:890cfb7d8fdb |
|---|---|
| 95 if ((t - lastsent) > 600) { /* 15 minutes! */ | 95 if ((t - lastsent) > 600) { /* 15 minutes! */ |
| 96 serv_set_idle((int)t - lastsent); | 96 serv_set_idle((int)t - lastsent); |
| 97 is_idle = 1; | 97 is_idle = 1; |
| 98 } | 98 } |
| 99 | 99 |
| 100 #ifdef GAIM_PLUGINS | |
| 101 { | |
| 102 GList *c = callbacks; | |
| 103 struct gaim_callback *g; | |
| 104 void (*function)(void *); | |
| 105 while (c) { | |
| 106 g = (struct gaim_callback *)c->data; | |
| 107 if (g->event == event_blist_update && | |
| 108 g->function != NULL) { | |
| 109 function = g->function; | |
| 110 (*function)(g->data); | |
| 111 } | |
| 112 c = c->next; | |
| 113 } | |
| 114 } | |
| 115 #endif | |
| 100 | 116 |
| 101 return TRUE; | 117 return TRUE; |
| 102 | 118 |
| 103 } | 119 } |
| 104 | 120 |
