Skip to content

Commit 457b9e3

Browse files
committed
fixup! feat(ui-widgets): add scrollarea
1 parent 5c40766 commit 457b9e3

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

lib/ui-widgets/src/scrollbar.c

-6
Original file line numberDiff line numberDiff line change
@@ -322,11 +322,6 @@ static void ui_scrollbar_on_init(ui_widget_t *w)
322322
ui_scrollbar_set_orientation(w, UI_SCROLLBAR_VERTICAL);
323323
}
324324

325-
static void ui_scrollbar_on_destroy(ui_widget_t *w)
326-
{
327-
ui_scrollbar_t *scrollbar = ui_widget_get_data(w, ui_scrollbar_proto);
328-
}
329-
330325
ui_widget_t *ui_create_scrollbar(void)
331326
{
332327
return ui_create_widget_with_prototype(ui_scrollbar_proto);
@@ -340,6 +335,5 @@ void ui_register_scrollbar(void)
340335
ui_scrollbar_proto = ui_create_widget_prototype("scrollbar", NULL);
341336
ui_scrollbar_proto->init = ui_scrollbar_on_init;
342337
ui_scrollbar_proto->setattr = ui_scrollbar_on_set_attr;
343-
ui_scrollbar_proto->destroy = ui_scrollbar_on_destroy;
344338
ui_load_css_string(ui_scrollbar_css, __FILE__);
345339
}

0 commit comments

Comments
 (0)