Changeset 1b92d4b in mainline for uspace/app/taskbar/test/wndlist.c


Ignore:
Timestamp:
2022-11-01T13:22:48Z (18 months ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
master, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
fc00f0d
Parents:
913add60
git-author:
Jiri Svoboda <jiri@…> (2022-10-31 18:22:34)
git-committer:
Jiri Svoboda <jiri@…> (2022-11-01 13:22:48)
Message:

Update window buttons based on window added/removed events

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/taskbar/test/wndlist.c

    r913add60 r1b92d4b  
    4646        ui_window_t *window = NULL;
    4747        ui_fixed_t *fixed = NULL;
    48         ui_resource_t *res;
    4948        wndlist_t *wndlist;
    5049
     
    5958        PCUT_ASSERT_NOT_NULL(window);
    6059
    61         res = ui_window_get_res(window);
    62         PCUT_ASSERT_ERRNO_VAL(EOK, rc);
    63 
    6460        rc = ui_fixed_create(&fixed);
    6561        ui_window_add(window, ui_fixed_ctl(fixed));
    6662
    67         rc = wndlist_create(res, fixed, &wndlist);
     63        rc = wndlist_create(window, fixed, &wndlist);
    6864        PCUT_ASSERT_ERRNO_VAL(EOK, rc);
    6965
Note: See TracChangeset for help on using the changeset viewer.