Mercurial > pidgin
comparison src/plugins.c @ 789:00c56b54e92c
[gaim-migrate @ 799]
too many messages
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Tue, 29 Aug 2000 19:08:57 +0000 |
parents | 53d2e3e02297 |
children | c13e78ae0f86 |
comparison
equal
deleted
inserted
replaced
788:9cdc6ea9647f | 789:00c56b54e92c |
---|---|
541 #endif | 541 #endif |
542 #ifdef GAIM_PLUGINS | 542 #ifdef GAIM_PLUGINS |
543 GList *c = callbacks; | 543 GList *c = callbacks; |
544 struct gaim_callback *g; | 544 struct gaim_callback *g; |
545 | 545 |
546 sprintf(debug_buff, "callback %d\n", event); | |
547 debug_print(debug_buff); | |
548 | |
549 while (c) { | 546 while (c) { |
550 g = (struct gaim_callback *)c->data; | 547 g = (struct gaim_callback *)c->data; |
551 if (g->event == event && g->function != NULL) { | 548 if (g->event == event && g->function != NULL) { |
552 switch(event) { | 549 switch(event) { |
553 | 550 |
703 buf[0] = 0; | 700 buf[0] = 0; |
704 break; | 701 break; |
705 default: | 702 default: |
706 break; | 703 break; |
707 } | 704 } |
708 sprintf(debug_buff, "perl event %d: %s\n", event, buf); | 705 sprintf(debug_buff, "event %d: %s\n", event, buf); |
709 debug_print(debug_buff); | 706 debug_print(debug_buff); |
710 perl_event(event, buf); | 707 perl_event(event, buf); |
711 #endif | 708 #endif |
712 } | 709 } |