changeset 1655:cf2a07573013

fixed AOSD plugin
author mf0102 <0102@gmx.at>
date Fri, 07 Sep 2007 14:39:24 +0200
parents 1b5f236208d8
children 95fab0931d47
files src/aosd/aosd.c src/aosd/aosd.h
diffstat 2 files changed, 6 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/src/aosd/aosd.c	Fri Sep 07 14:36:20 2007 +0200
+++ b/src/aosd/aosd.c	Fri Sep 07 14:39:24 2007 +0200
@@ -26,7 +26,7 @@
 
 
 GeneralPlugin *aosd_gplist[] = { &aosd_gp, NULL };
-DECLARE_PLUGIN(aosd, NULL, NULL, NULL, NULL, NULL, aosd_gplist, NULL, NULL);
+SIMPLE_GENERAL_PLUGIN(aosd, aosd_gplist);
 
 aosd_cfg_t * global_config = NULL;
 gboolean plugin_is_active = FALSE;
--- a/src/aosd/aosd.h	Fri Sep 07 14:36:20 2007 +0200
+++ b/src/aosd/aosd.h	Fri Sep 07 14:39:24 2007 +0200
@@ -35,13 +35,11 @@
 
 GeneralPlugin aosd_gp =
 {
-    NULL,						/* handle */
-    NULL,						/* filename */
-    "Audacious OSD " AOSD_VERSION_PLUGIN,	/* description */
-    aosd_init,					/* init */
-    aosd_about,					/* about */
-    aosd_configure,				/* configure */
-    aosd_cleanup					/* cleanup */
+    .description= "Audacious OSD " AOSD_VERSION_PLUGIN,
+    .init = aosd_init,
+    .about = aosd_about,
+    .configure = aosd_configure,
+    .cleanup = aosd_cleanup
 };
 
 #endif /* !_I_AOSD_H */