changeset 1120:0851e4439f37 trunk

[svn] - alarm: converted to v2 plugin system
author giacomo
date Fri, 25 May 2007 02:47:52 -0700
parents 751a95e21a08
children 592442919dbd
files ChangeLog src/alarm/alarm.c
diffstat 2 files changed, 10 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Fri May 25 02:45:58 2007 -0700
+++ b/ChangeLog	Fri May 25 02:47:52 2007 -0700
@@ -1,3 +1,10 @@
+2007-05-25 09:45:58 +0000  Giacomo Lozito <james@develia.org>
+  revision [2404]
+  - songchange: converted to v2 plugin system
+  trunk/src/song_change/song_change.c |    9 +++------
+  1 file changed, 3 insertions(+), 6 deletions(-)
+
+
 2007-05-25 09:43:45 +0000  Giacomo Lozito <james@develia.org>
   revision [2402]
   - lirc: converted to v2 plugin system
--- a/src/alarm/alarm.c	Fri May 25 02:45:58 2007 -0700
+++ b/src/alarm/alarm.c	Fri May 25 02:47:52 2007 -0700
@@ -652,11 +652,6 @@
    gtk_adjustment_set_value(adj, (gfloat)vol);
 }
 
-GeneralPlugin *get_gplugin_info()
-{
-   return &alarm_plugin;
-}
-
 /*
  * a thread safe sleeping function -
  * and it even works in solaris (I think)
@@ -1010,6 +1005,9 @@
      alarm_cleanup,
 };
 
+GeneralPlugin *alarm_gplist[] = { &alarm_plugin, NULL };
+DECLARE_PLUGIN(alarm, NULL, NULL, NULL, NULL, NULL, alarm_gplist, NULL);
+
 /*
  * vi:ai:expandtab:ts=2 sts=2 shiftwidth=2:nowrap:
  */