Mercurial > pidgin.yaz
comparison src/module.c @ 2422:e5f76dc2c8d1
[gaim-migrate @ 2435]
pass gc->away in events.
committer: Tailor Script <tailor@pidgin.im>
| author | Eric Warmenhoven <eric@warmenhoven.org> |
|---|---|
| date | Thu, 04 Oct 2001 00:05:18 +0000 |
| parents | 70cb0ce6991a |
| children | 8306c042bac7 |
comparison
equal
deleted
inserted
replaced
| 2421:95b4ec08abec | 2422:e5f76dc2c8d1 |
|---|---|
| 428 #endif /* GAIM_PLUGINS */ | 428 #endif /* GAIM_PLUGINS */ |
| 429 #ifdef USE_PERL | 429 #ifdef USE_PERL |
| 430 switch (event) { | 430 switch (event) { |
| 431 case event_signon: | 431 case event_signon: |
| 432 case event_signoff: | 432 case event_signoff: |
| 433 g_snprintf(buf, sizeof buf, "%lu", (unsigned long)arg1); | |
| 434 break; | |
| 433 case event_away: | 435 case event_away: |
| 434 case event_back: | 436 g_snprintf(buf, sizeof buf, "%lu %s", (unsigned long)arg1, |
| 435 g_snprintf(buf, sizeof buf, "%lu", (unsigned long)arg1); | 437 ((struct gaim_connection *)arg1)->away ? |
| 438 ((struct gaim_connection *)arg1)->away : ""); | |
| 436 break; | 439 break; |
| 437 case event_im_recv: | 440 case event_im_recv: |
| 438 g_snprintf(buf, sizeof buf, "%lu \"%s\" %s", (unsigned long)arg1, | 441 g_snprintf(buf, sizeof buf, "%lu \"%s\" %s", (unsigned long)arg1, |
| 439 *(char **)arg2 ? *(char **)arg2 : "(null)", | 442 *(char **)arg2 ? *(char **)arg2 : "(null)", |
| 440 *(char **)arg3 ? *(char **)arg3 : "(null)"); | 443 *(char **)arg3 ? *(char **)arg3 : "(null)"); |
