# HG changeset patch # User mf0102 <0102@gmx.at> # Date 1189168764 -7200 # Node ID cf2a0757301343f9317179c067d84ca2d25a8c68 # Parent 1b5f236208d87bd6cb81e04e6f8d8f4a245891f3 fixed AOSD plugin diff -r 1b5f236208d8 -r cf2a07573013 src/aosd/aosd.c --- 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; diff -r 1b5f236208d8 -r cf2a07573013 src/aosd/aosd.h --- 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 */