aboutsummaryrefslogtreecommitdiffstats
path: root/widget_timer.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--widget_timer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/widget_timer.c b/widget_timer.c
index 10ba86d..dec7562 100644
--- a/widget_timer.c
+++ b/widget_timer.c
@@ -42,7 +42,7 @@
#include "cfg.h"
#include "qprintf.h"
#include "property.h"
-#include "timer.h"
+#include "timer_group.h"
#include "widget.h"
#include "widget_timer.h"
@@ -72,7 +72,7 @@ void widget_timer_update(void *Self)
}
/* add a new one-shot timer */
- timer_add(widget_timer_update, Self, update, 1);
+ timer_add_widget(widget_timer_update, Self, update, 1);
}