changeset 1658:5538324eb069

fixed hotkey plugin
author mf0102 <0102@gmx.at>
date Fri, 07 Sep 2007 14:45:34 +0200
parents 61f1f017e847
children 53adc480f9a7
files src/hotkey/plugin.c
diffstat 1 files changed, 6 insertions(+), 8 deletions(-) [+]
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);