Changes in uspace/lib/gui/terminal.c [10cb47e:a116f7f2] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/gui/terminal.c
r10cb47e ra116f7f2 679 679 680 680 list_foreach(terms, link, terminal_t, cur) { 681 if (cur->dsid == (service_id_t) IPC_GET_ARG 2(*icall)) {681 if (cur->dsid == (service_id_t) IPC_GET_ARG1(*icall)) { 682 682 term = cur; 683 683 break; … … 696 696 } 697 697 698 bool init_terminal(terminal_t *term, widget_t *parent, const void *data,699 sysarg_t width, sysarg_theight)700 { 701 widget_init(&term->widget, parent , data);698 bool init_terminal(terminal_t *term, widget_t *parent, sysarg_t width, 699 sysarg_t height) 700 { 701 widget_init(&term->widget, parent); 702 702 703 703 link_initialize(&term->link); … … 744 744 term->top_row = 0; 745 745 746 async_set_ fallback_port_handler(term_connection, NULL);746 async_set_client_connection(term_connection); 747 747 con_srvs_init(&term->srvs); 748 748 term->srvs.ops = &con_ops; … … 771 771 } 772 772 773 terminal_t *create_terminal(widget_t *parent, const void *data, sysarg_t width, 774 sysarg_t height) 773 terminal_t *create_terminal(widget_t *parent, sysarg_t width, sysarg_t height) 775 774 { 776 775 terminal_t *term = (terminal_t *) malloc(sizeof(terminal_t)); … … 778 777 return NULL; 779 778 780 bool ret = init_terminal(term, parent, data,width, height);779 bool ret = init_terminal(term, parent, width, height); 781 780 if (!ret) { 782 781 free(term);
Note:
See TracChangeset
for help on using the changeset viewer.