mirror of
https://gitee.com/zlgopen/awtk.git
synced 2024-12-02 12:08:16 +08:00
fix widget_set_value (issue #250)
This commit is contained in:
parent
dad1ffeb86
commit
eedc9afba7
@ -193,7 +193,7 @@ ret_t widget_set_value(widget_t* widget, int32_t value) {
|
||||
value_t v;
|
||||
return_value_if_fail(widget != NULL, RET_BAD_PARAMS);
|
||||
|
||||
return widget_set_prop(widget, WIDGET_PROP_VALUE, value_set_uint32(&v, value));
|
||||
return widget_set_prop(widget, WIDGET_PROP_VALUE, value_set_int(&v, value));
|
||||
}
|
||||
|
||||
ret_t widget_add_value(widget_t* widget, int32_t delta) {
|
||||
|
Loading…
Reference in New Issue
Block a user