Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/hid/display/window.c

    r90f1f19 r1215db9  
    5353static void ds_window_get_preview_rect(ds_window_t *, gfx_rect_t *);
    5454
     55static mem_gc_cb_t ds_window_mem_gc_cb = {
     56        .invalidate = ds_window_invalidate_cb,
     57        .update = ds_window_update_cb
     58};
     59
    5560/** Create window.
    5661 *
     
    108113        }
    109114
    110         rc = mem_gc_create(&params->rect, &alloc, ds_window_invalidate_cb,
    111             ds_window_update_cb, (void *)wnd, &wnd->mgc);
     115        rc = mem_gc_create(&params->rect, &alloc, &ds_window_mem_gc_cb,
     116            (void *)wnd, &wnd->mgc);
    112117        if (rc != EOK)
    113118                goto error;
Note: See TracChangeset for help on using the changeset viewer.