Changeset 10cb47e in mainline for uspace/lib/gui/window.c
- Timestamp:
- 2016-08-31T15:43:01Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- bdfdc51c
- Parents:
- 58563585
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/gui/window.c
r58563585 r10cb47e 591 591 } 592 592 593 window_t *window_open(const char *winreg, window_flags_t flags,594 const char *caption)593 window_t *window_open(const char *winreg, const void *data, 594 window_flags_t flags, const char *caption) 595 595 { 596 596 window_t *win = (window_t *) malloc(sizeof(window_t)); … … 604 604 fibril_mutex_initialize(&win->guard); 605 605 606 widget_init(&win->root, NULL );606 widget_init(&win->root, NULL, data); 607 607 win->root.window = win; 608 608 win->root.destroy = root_destroy;
Note:
See TracChangeset
for help on using the changeset viewer.