changeset 1654:1b5f236208d8

fixed alarm plugin
author mf0102 <0102@gmx.at>
date Fri, 07 Sep 2007 14:36:20 +0200
parents c98e16576bfb
children cf2a07573013
files src/alarm/alarm.c
diffstat 1 files changed, 6 insertions(+), 12 deletions(-) [+]
line wrap: on
line diff
--- 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);