Mercurial > audlegacy-plugins
diff src/hotkey/plugin.c @ 1658:5538324eb069
fixed hotkey plugin
| author | mf0102 <0102@gmx.at> |
|---|---|
| date | Fri, 07 Sep 2007 14:45:34 +0200 |
| parents | a9af4f1aede9 |
| children | f6f5603a0954 |
line wrap: on
line diff
--- a/src/hotkey/plugin.c Fri Sep 07 14:43:56 2007 +0200 +++ b/src/hotkey/plugin.c Fri Sep 07 14:45:34 2007 +0200 @@ -129,17 +129,15 @@ static GeneralPlugin audacioushotkey = { - NULL, - NULL, - "Global Hotkey", - init, - about, - configure, - cleanup + .description = "Global Hotkey", + .init = init, + .about = about, + .configure = configure, + .cleanup = cleanup }; GeneralPlugin *hotkey_gplist[] = { &audacioushotkey, NULL }; -DECLARE_PLUGIN(hotkey, NULL, NULL, NULL, NULL, NULL, hotkey_gplist, NULL, NULL); +SIMPLE_GENERAL_PLUGIN(hotkey, hotkey_gplist);
