changeset 1117:377c4c6e17a6 trunk

[svn] - evdev-plug: converted to v2 plugin system
author giacomo
date Fri, 25 May 2007 02:41:52 -0700
parents 86578452bcd1
children 6f9882365155
files ChangeLog src/evdev-plug/ed.c
diffstat 2 files changed, 10 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Fri May 25 02:39:48 2007 -0700
+++ b/ChangeLog	Fri May 25 02:41:52 2007 -0700
@@ -1,3 +1,10 @@
+2007-05-25 09:39:48 +0000  Giacomo Lozito <james@develia.org>
+  revision [2398]
+  - statusicon: converted to v2 plugin system
+  trunk/src/statusicon/si.c |    9 +++------
+  1 file changed, 3 insertions(+), 6 deletions(-)
+
+
 2007-05-25 09:37:51 +0000  Giacomo Lozito <james@develia.org>
   revision [2396]
   - aosd: remove unused input.h inclusion
--- a/src/evdev-plug/ed.c	Fri May 25 02:39:48 2007 -0700
+++ b/src/evdev-plug/ed.c	Fri May 25 02:41:52 2007 -0700
@@ -28,6 +28,9 @@
 #include <audacious/auddrct.h>
 
 
+GeneralPlugin *evdevplug_gplist[] = { &ed_gp, NULL };
+DECLARE_PLUGIN(evdev-plug, NULL, NULL, NULL, NULL, NULL, evdevplug_gplist, NULL);
+
 GList *ed_device_listening_list = NULL;
 gboolean plugin_is_active = FALSE;
 
@@ -80,12 +83,6 @@
 /* ***************** */
 /* plug-in functions */
 
-GeneralPlugin *get_gplugin_info()
-{
-   return &ed_gp;
-}
-
-
 void
 ed_init ( void )
 {