Changeset 97d3d9d in mainline for uspace/app/display-cfg/seats.c
- Timestamp:
- 2023-04-20T18:43:15Z (7 months ago)
- Branches:
- master, ticket/834-toolchain-update, topic/msim-upgrade
- Children:
- cdf5361
- Parents:
- 37087c8
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/display-cfg/seats.c
r37087c8 r97d3d9d 441 441 dcfg_devices_entry_t *dentry; 442 442 443 ui_pbutton_destroy(seats->add_device);444 ui_pbutton_destroy(seats->remove_device);445 446 ui_label_destroy(seats->devices_label);447 448 443 lentry = ui_list_first(seats->device_list); 449 444 while (lentry != NULL) { … … 454 449 lentry = ui_list_first(seats->device_list); 455 450 } 456 ui_list_destroy(seats->device_list);457 458 ui_pbutton_destroy(seats->add_seat);459 ui_pbutton_destroy(seats->remove_seat);460 451 461 452 lentry = ui_list_first(seats->seat_list); … … 468 459 } 469 460 470 ui_label_destroy(seats->seats_label); 471 ui_list_destroy(seats->seat_list); 472 ui_fixed_destroy(seats->fixed); 461 /* This will automatically destroy all controls in the tab */ 462 ui_tab_destroy(seats->tab); 473 463 free(seats); 474 464 } … … 482 472 * @return EOK on success or an error code 483 473 */ 484 staticerrno_t dcfg_seats_insert(dcfg_seats_t *seats, const char *name,474 errno_t dcfg_seats_insert(dcfg_seats_t *seats, const char *name, 485 475 sysarg_t seat_id, dcfg_seats_entry_t **rentry) 486 476 { … … 564 554 * @return EOK on success or an error code 565 555 */ 566 staticerrno_t dcfg_devices_insert(dcfg_seats_t *seats, const char *name,556 errno_t dcfg_devices_insert(dcfg_seats_t *seats, const char *name, 567 557 service_id_t svc_id) 568 558 {
Note:
See TracChangeset
for help on using the changeset viewer.