diff --git a/src/lv_themes/lv_theme_material.c b/src/lv_themes/lv_theme_material.c index fff832225..d783a3c32 100644 --- a/src/lv_themes/lv_theme_material.c +++ b/src/lv_themes/lv_theme_material.c @@ -654,7 +654,6 @@ lv_theme_t * lv_theme_material_init(lv_color_t color_primary, lv_color_t color_s spinner_init(); chart_init(); checkbox_init(); - keyboard_init(); textarea_init(); ddlist_init(); roller_init(); diff --git a/src/lv_widgets/lv_bar.c b/src/lv_widgets/lv_bar.c index 81615b8bd..e2b01fb89 100644 --- a/src/lv_widgets/lv_bar.c +++ b/src/lv_widgets/lv_bar.c @@ -73,7 +73,7 @@ static lv_signal_cb_t ancestor_signal; * Pointer to an other bar to copy. * @return pointer to the created bar */ -lv_obj_t * lv_bar_create(lv_obj_t * parent, lv_obj_t * copy) +lv_obj_t * lv_bar_create(lv_obj_t * parent, const lv_obj_t * copy) { LV_LOG_TRACE("lv_bar create started"); diff --git a/src/lv_widgets/lv_bar.h b/src/lv_widgets/lv_bar.h index 6a761921f..e23de2f03 100644 --- a/src/lv_widgets/lv_bar.h +++ b/src/lv_widgets/lv_bar.h @@ -96,7 +96,7 @@ typedef uint8_t lv_bar_part_t; * Pointer to an other bar to copy. * @return pointer to the created bar */ -lv_obj_t * lv_bar_create(lv_obj_t * parent, lv_obj_t * copy); +lv_obj_t * lv_bar_create(lv_obj_t * parent, const lv_obj_t * copy); /*===================== * Setter functions