Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/gui/window.c

    rf9b2cb4c r10cb47e  
    591591}
    592592
    593 window_t *window_open(const char *winreg, window_flags_t flags,
    594     const char *caption)
     593window_t *window_open(const char *winreg, const void *data,
     594    window_flags_t flags, const char *caption)
    595595{
    596596        window_t *win = (window_t *) malloc(sizeof(window_t));
     
    604604        fibril_mutex_initialize(&win->guard);
    605605       
    606         widget_init(&win->root, NULL);
     606        widget_init(&win->root, NULL, data);
    607607        win->root.window = win;
    608608        win->root.destroy = root_destroy;
Note: See TracChangeset for help on using the changeset viewer.