mirror of
https://gitee.com/zlgopen/awtk.git
synced 2024-11-30 02:58:26 +08:00
remove unused log
This commit is contained in:
parent
dec42cafc1
commit
7278123b25
@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
2023/05/31
|
2023/05/31
|
||||||
* 修改resize控件时,控件宽高如果大于children_layout中指定的宽高,使子控件的宽高始终>=children_layout中指定的宽高(感谢朝泽提供补丁)
|
* 修改resize控件时,控件宽高如果大于children_layout中指定的宽高,使子控件的宽高始终>=children_layout中指定的宽高(感谢朝泽提供补丁)
|
||||||
|
* 去掉fscript_module中一些无用的调试信息(感谢雨欣提供补丁)。
|
||||||
|
|
||||||
2023/05/30
|
2023/05/30
|
||||||
* popup恢复支持高亮(感谢智明提供补丁)。
|
* popup恢复支持高亮(感谢智明提供补丁)。
|
||||||
|
@ -42,9 +42,13 @@ static ret_t fscript_module_on_destroy(tk_object_t* obj) {
|
|||||||
|
|
||||||
static ret_t fscript_module_get_prop(tk_object_t* obj, const char* name, value_t* v) {
|
static ret_t fscript_module_get_prop(tk_object_t* obj, const char* name, value_t* v) {
|
||||||
fscript_module_t* o = FSCRIPT_MODULE(obj);
|
fscript_module_t* o = FSCRIPT_MODULE(obj);
|
||||||
return_value_if_fail(o != NULL && o->fscript != NULL, RET_BAD_PARAMS);
|
return_value_if_fail(o != NULL, RET_BAD_PARAMS);
|
||||||
|
|
||||||
return tk_object_get_prop(o->fscript->funcs_def, name, v);
|
if (o->fscript != NULL && o->fscript->funcs_def != NULL) {
|
||||||
|
return tk_object_get_prop(o->fscript->funcs_def, name, v);
|
||||||
|
}
|
||||||
|
|
||||||
|
return RET_NOT_FOUND;
|
||||||
}
|
}
|
||||||
|
|
||||||
static ret_t fscript_module_foreach_prop(tk_object_t* obj, tk_visit_t on_prop, void* ctx) {
|
static ret_t fscript_module_foreach_prop(tk_object_t* obj, tk_visit_t on_prop, void* ctx) {
|
||||||
|
Loading…
Reference in New Issue
Block a user