# HG changeset patch # User mf0102 <0102@gmx.at> # Date 1189168580 -7200 # Node ID 1b5f236208d87bd6cb81e04e6f8d8f4a245891f3 # Parent c98e16576bfbd47fbaa89f3380dee5e778c218cb fixed alarm plugin diff -r c98e16576bfb -r 1b5f236208d8 src/alarm/alarm.c --- a/src/alarm/alarm.c Fri Sep 07 14:32:49 2007 +0200 +++ b/src/alarm/alarm.c Fri Sep 07 14:36:20 2007 +0200 @@ -996,18 +996,12 @@ */ static GeneralPlugin alarm_plugin = { - NULL, - NULL, - "Alarm "VERSION, - alarm_init, - alarm_about, - alarm_configure, - alarm_cleanup, + .description = "Alarm "VERSION, + .init = alarm_init, + .about = alarm_about, + .configure = alarm_configure, + .cleanup = alarm_cleanup, }; GeneralPlugin *alarm_gplist[] = { &alarm_plugin, NULL }; -DECLARE_PLUGIN(alarm, NULL, NULL, NULL, NULL, NULL, alarm_gplist, NULL, NULL); - -/* - * vi:ai:expandtab:ts=2 sts=2 shiftwidth=2:nowrap: - */ +SIMPLE_GENERAL_PLUGIN(alarm, alarm_gplist);