aboutsummaryrefslogtreecommitdiffstats
path: root/widget_gpo.c
diff options
context:
space:
mode:
authormzuther <mzuther@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2010-02-07 14:03:46 +0000
committermzuther <mzuther@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2010-02-07 14:03:46 +0000
commit7496af7c8678b4ee97f9913b26dad028149eed79 (patch)
tree008656e48fb0026a7c36f4812757f53fb72b8423 /widget_gpo.c
parentdcb29d2726791b4b770d4b36d27ee81d79a38f9e (diff)
downloadlcd4linux-7496af7c8678b4ee97f9913b26dad028149eed79.tar.gz
added grouping of widgets by update interval (new file "timer_group.c")
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1106 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to 'widget_gpo.c')
-rw-r--r--widget_gpo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/widget_gpo.c b/widget_gpo.c
index 1a0d52d..a47a8d5 100644
--- a/widget_gpo.c
+++ b/widget_gpo.c
@@ -41,7 +41,7 @@
#include "debug.h"
#include "cfg.h"
#include "property.h"
-#include "timer.h"
+#include "timer_group.h"
#include "widget.h"
#include "widget_gpo.h"
@@ -65,7 +65,7 @@ void widget_gpo_update(void *Self)
/* add a new one-shot timer */
if (P2N(&GPO->update) > 0) {
- timer_add(widget_gpo_update, Self, P2N(&GPO->update), 1);
+ timer_add_widget(widget_gpo_update, Self, P2N(&GPO->update), 1);
}
}