Mercurial > audlegacy-plugins
changeset 1116:86578452bcd1 trunk
[svn] - statusicon: converted to v2 plugin system
author | giacomo |
---|---|
date | Fri, 25 May 2007 02:39:48 -0700 |
parents | ea375203932e |
children | 377c4c6e17a6 |
files | ChangeLog src/statusicon/si.c |
diffstat | 2 files changed, 10 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Fri May 25 02:37:51 2007 -0700 +++ b/ChangeLog Fri May 25 02:39:48 2007 -0700 @@ -1,3 +1,10 @@ +2007-05-25 09:37:51 +0000 Giacomo Lozito <james@develia.org> + revision [2396] + - aosd: remove unused input.h inclusion + trunk/src/aosd/aosd.c | 1 - + 1 file changed, 1 deletion(-) + + 2007-05-25 09:35:33 +0000 Giacomo Lozito <james@develia.org> revision [2394] - aosd: converted to v2 plugin system
--- a/src/statusicon/si.c Fri May 25 02:37:51 2007 -0700 +++ b/src/statusicon/si.c Fri May 25 02:39:48 2007 -0700 @@ -27,6 +27,9 @@ #include <audacious/playlist.h> +GeneralPlugin *statusicon_gplist[] = { &si_gp, NULL }; +DECLARE_PLUGIN(statusicon, NULL, NULL, NULL, NULL, NULL, statusicon_gplist, NULL); + static gboolean plugin_active = FALSE; extern si_cfg_t si_cfg; @@ -35,12 +38,6 @@ /* ***************** */ /* plug-in functions */ -GeneralPlugin *get_gplugin_info() -{ - return &si_gp; -} - - void si_init ( void ) {