# HG changeset patch # User mf0102 <0102@gmx.at> # Date 1189169134 -7200 # Node ID 5538324eb069a64530726295ead07477cf745e5c # Parent 61f1f017e847ad0cb0debbb668edd18c4116d043 fixed hotkey plugin diff -r 61f1f017e847 -r 5538324eb069 src/hotkey/plugin.c --- 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);