mirror of
https://gitee.com/zlgopen/awtk.git
synced 2024-12-03 20:48:02 +08:00
fix warnings for awtk-web
This commit is contained in:
parent
152e02d7ad
commit
c41fdadabe
@ -326,9 +326,7 @@ static ret_t dialog_toast_set_curr_message(dialog_toast_t* dialog_toast, dialog_
|
||||
} else {
|
||||
label = label_create(dialog_toast->toast, 0, 0, 0, 0);
|
||||
return_value_if_fail(label != NULL, RET_OOM);
|
||||
if (message->text != NULL) {
|
||||
widget_set_tr_text(label, message->text);
|
||||
}
|
||||
widget_set_tr_text(label, message->text);
|
||||
return RET_OK;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user