Changeset 10cb47e in mainline for uspace/lib/gui/terminal.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/terminal.c
r58563585 r10cb47e 696 696 } 697 697 698 bool init_terminal(terminal_t *term, widget_t *parent, sysarg_t width,699 sysarg_t height)700 { 701 widget_init(&term->widget, parent );698 bool init_terminal(terminal_t *term, widget_t *parent, const void *data, 699 sysarg_t width, sysarg_t height) 700 { 701 widget_init(&term->widget, parent, data); 702 702 703 703 link_initialize(&term->link); … … 771 771 } 772 772 773 terminal_t *create_terminal(widget_t *parent, sysarg_t width, sysarg_t height) 773 terminal_t *create_terminal(widget_t *parent, const void *data, sysarg_t width, 774 sysarg_t height) 774 775 { 775 776 terminal_t *term = (terminal_t *) malloc(sizeof(terminal_t)); … … 777 778 return NULL; 778 779 779 bool ret = init_terminal(term, parent, width, height);780 bool ret = init_terminal(term, parent, data, width, height); 780 781 if (!ret) { 781 782 free(term);
Note:
See TracChangeset
for help on using the changeset viewer.