mirror of
https://gitee.com/zlgopen/awtk.git
synced 2024-11-30 02:58:26 +08:00
fix calibration_win leak
This commit is contained in:
parent
82f5595558
commit
286bd01e1d
@ -163,7 +163,8 @@ TK_DECL_VTABLE(calibration_win) = {.size = sizeof(calibration_win_t),
|
|||||||
.get_prop = window_base_get_prop,
|
.get_prop = window_base_get_prop,
|
||||||
.on_paint_begin = window_base_on_paint_begin,
|
.on_paint_begin = window_base_on_paint_begin,
|
||||||
.on_paint_end = window_base_on_paint_end,
|
.on_paint_end = window_base_on_paint_end,
|
||||||
.on_paint_self = calibration_win_on_paint_self};
|
.on_paint_self = calibration_win_on_paint_self,
|
||||||
|
.on_destroy = window_base_on_destroy};
|
||||||
|
|
||||||
ret_t calibration_win_set_on_done(widget_t* widget, calibration_win_on_done_t on_done, void* ctx) {
|
ret_t calibration_win_set_on_done(widget_t* widget, calibration_win_on_done_t on_done, void* ctx) {
|
||||||
calibration_win_t* win = CALIBRATION_WIN(widget);
|
calibration_win_t* win = CALIBRATION_WIN(widget);
|
||||||
|
Loading…
Reference in New Issue
Block a user