Changeset f126c87 in mainline for uspace/lib/gui/terminal.c


Ignore:
Timestamp:
2016-09-01T16:46:27Z (8 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
2a2fbc8
Parents:
9befb0d (diff), bdfdc51c (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge from mainline.

File:
1 edited

Legend:

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

    r9befb0d rf126c87  
    696696}
    697697
    698 bool init_terminal(terminal_t *term, widget_t *parent, sysarg_t width,
    699     sysarg_t height)
    700 {
    701         widget_init(&term->widget, parent);
     698bool 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);
    702702       
    703703        link_initialize(&term->link);
     
    771771}
    772772
    773 terminal_t *create_terminal(widget_t *parent, sysarg_t width, sysarg_t height)
     773terminal_t *create_terminal(widget_t *parent, const void *data, sysarg_t width,
     774    sysarg_t height)
    774775{
    775776        terminal_t *term = (terminal_t *) malloc(sizeof(terminal_t));
     
    777778                return NULL;
    778779       
    779         bool ret = init_terminal(term, parent, width, height);
     780        bool ret = init_terminal(term, parent, data, width, height);
    780781        if (!ret) {
    781782                free(term);
Note: See TracChangeset for help on using the changeset viewer.