Commit 457b9e3 1 parent 5c40766 commit 457b9e3 Copy full SHA for 457b9e3
File tree 1 file changed +0
-6
lines changed
1 file changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -322,11 +322,6 @@ static void ui_scrollbar_on_init(ui_widget_t *w)
322
322
ui_scrollbar_set_orientation (w , UI_SCROLLBAR_VERTICAL );
323
323
}
324
324
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
-
330
325
ui_widget_t * ui_create_scrollbar (void )
331
326
{
332
327
return ui_create_widget_with_prototype (ui_scrollbar_proto );
@@ -340,6 +335,5 @@ void ui_register_scrollbar(void)
340
335
ui_scrollbar_proto = ui_create_widget_prototype ("scrollbar" , NULL );
341
336
ui_scrollbar_proto -> init = ui_scrollbar_on_init ;
342
337
ui_scrollbar_proto -> setattr = ui_scrollbar_on_set_attr ;
343
- ui_scrollbar_proto -> destroy = ui_scrollbar_on_destroy ;
344
338
ui_load_css_string (ui_scrollbar_css , __FILE__ );
345
339
}
You can’t perform that action at this time.
0 commit comments