Changeset c6f00b40 in mainline for uspace/app/uidemo/uidemo.c


Ignore:
Timestamp:
2020-11-01T22:49:05Z (5 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
4ac11ff
Parents:
4df6607
git-author:
Jiri Svoboda <jiri@…> (2020-11-01 22:47:03)
git-committer:
Jiri Svoboda <jiri@…> (2020-11-01 22:49:05)
Message:

Add virtual destructor for UI control

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/uidemo/uidemo.c

    r4df6607 rc6f00b40  
    252252        ui_run(ui);
    253253
    254         ui_fixed_remove(demo.fixed, ui_label_ctl(demo.label));
    255         ui_fixed_remove(demo.fixed, ui_pbutton_ctl(demo.pb1));
    256         ui_fixed_remove(demo.fixed, ui_pbutton_ctl(demo.pb2));
    257 
    258         ui_pbutton_destroy(demo.pb1);
    259         ui_pbutton_destroy(demo.pb2);
    260 
     254        ui_fixed_destroy(demo.fixed);
    261255        ui_window_destroy(window);
    262256        ui_destroy(ui);
Note: See TracChangeset for help on using the changeset viewer.