Mercurial > pidgin.yaz
comparison plugins/iconaway.c @ 1047:ece2d1543b20
[gaim-migrate @ 1057]
Plugins now use GModule. Protocol plugins can be dynamically updated.
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Wed, 01 Nov 2000 22:30:36 +0000 |
parents | ec301cfcaebf |
children | 96e93119268d |
comparison
equal
deleted
inserted
replaced
1046:4593605da0e2 | 1047:ece2d1543b20 |
---|---|
24 GDK_WINDOW_XWINDOW(blist->window), | 24 GDK_WINDOW_XWINDOW(blist->window), |
25 ((_XPrivDisplay)GDK_DISPLAY())->default_screen); | 25 ((_XPrivDisplay)GDK_DISPLAY())->default_screen); |
26 #endif | 26 #endif |
27 } | 27 } |
28 | 28 |
29 void gaim_plugin_init(void *h) { | 29 char *gaim_plugin_init(GModule *h) { |
30 handle = h; | 30 handle = h; |
31 | 31 |
32 gaim_signal_connect(handle, event_away, iconify_windows, NULL); | 32 gaim_signal_connect(handle, event_away, iconify_windows, NULL); |
33 | |
34 return NULL; | |
33 } | 35 } |
34 | 36 |
35 char *name() { | 37 char *name() { |
36 return "Iconify On Away"; | 38 return "Iconify On Away"; |
37 } | 39 } |