diff options
Diffstat (limited to 'widget_bar.c')
-rw-r--r-- | widget_bar.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/widget_bar.c b/widget_bar.c index 7558550..bb03eab 100644 --- a/widget_bar.c +++ b/widget_bar.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_bar.h" @@ -204,7 +204,7 @@ int widget_bar_init(WIDGET * Self) free(section); Self->data = Bar; - timer_add(widget_bar_update, Self, Bar->update, 0); + timer_add_widget(widget_bar_update, Self, Bar->update, 0); return 0; } |