Changeset 10cb47e in mainline for uspace/app/fontviewer/fontviewer.c


Ignore:
Timestamp:
2016-08-31T15:43:01Z (8 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
bdfdc51c
Parents:
58563585
Message:

add support for custom client data into widgets

File:
1 edited

Legend:

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

    r58563585 r10cb47e  
    260260        }
    261261       
    262         main_window = window_open(argv[1], WINDOW_MAIN, "fontviewer");
     262        main_window = window_open(argv[1], NULL, WINDOW_MAIN, "fontviewer");
    263263        if (!main_window) {
    264264                printf("Cannot open main window.\n");
     
    282282        }
    283283       
    284         canvas = create_canvas(window_root(main_window),
     284        canvas = create_canvas(window_root(main_window), NULL,
    285285            WINDOW_WIDTH, WINDOW_HEIGHT, surface);
    286286        if (canvas == NULL) {
Note: See TracChangeset for help on using the changeset viewer.