aboutsummaryrefslogtreecommitdiffstats
path: root/widget_timer.c
diff options
context:
space:
mode:
authormichael <michael@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2007-01-20 06:37:35 +0000
committermichael <michael@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2007-01-20 06:37:35 +0000
commitceb6fc010ee9f4fadbcbf3e3cdc481ec505cdc32 (patch)
tree8b0d4a217ccc9c6a61b4a72cfedf487433fb01e0 /widget_timer.c
parent883d1546b2cc19b1ae1b0041cb8131baea814336 (diff)
downloadlcd4linux-ceb6fc010ee9f4fadbcbf3e3cdc481ec505cdc32.tar.gz
dynamic properties for bars; new 'property_valid()' helper
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@749 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to 'widget_timer.c')
-rw-r--r--widget_timer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/widget_timer.c b/widget_timer.c
index 810c216..9627c50 100644
--- a/widget_timer.c
+++ b/widget_timer.c
@@ -92,7 +92,7 @@ int widget_timer_init(WIDGET * Self)
memset(Timer, 0, sizeof(WIDGET_TIMER));
/* load properties */
- property_load(section, "expression", "1", &Timer->expression);
+ property_load(section, "expression", NULL, &Timer->expression);
property_load(section, "update", "100", &Timer->update);
property_load(section, "active", "1", &Timer->active);