remove unused log

This commit is contained in:
lixianjing 2023-05-31 16:33:13 +08:00
parent dec42cafc1
commit 7278123b25
2 changed files with 7 additions and 2 deletions

View File

@ -2,6 +2,7 @@
2023/05/31
* 修改resize控件时控件宽高如果大于children_layout中指定的宽高使子控件的宽高始终>=children_layout中指定的宽高(感谢朝泽提供补丁)
* 去掉fscript_module中一些无用的调试信息(感谢雨欣提供补丁)。
2023/05/30
* popup恢复支持高亮(感谢智明提供补丁)。

View File

@ -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) {
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) {