Changeset f9b2cb4c in mainline for uspace/lib/gui/window.c


Ignore:
Timestamp:
2015-08-23T12:50:23Z (9 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
9ef495f
Parents:
0dd16778
Message:

unify interface API

  • introduce new interfaces
  • unify location service clients to always expect service ID as the second argument
  • remove obsolete methods that take explicit exchange management arguments (first phase)
  • use interfaces in device drivers, devman, location service, logger, inet
File:
1 edited

Legend:

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

    r0dd16778 rf9b2cb4c  
    623623        }
    624624       
    625         async_sess_t *reg_sess = loc_service_connect(EXCHANGE_SERIALIZE,
    626             reg_dsid, 0);
     625        async_sess_t *reg_sess =
     626            loc_service_connect(reg_dsid, INTERFACE_COMPOSITOR, 0);
    627627        if (reg_sess == NULL) {
    628628                free(win);
     
    639639        }
    640640       
    641         win->osess = loc_service_connect(EXCHANGE_SERIALIZE, out_dsid, 0);
     641        win->osess = loc_service_connect(out_dsid, INTERFACE_COMPOSITOR, 0);
    642642        if (win->osess == NULL) {
    643643                free(win);
     
    645645        }
    646646       
    647         win->isess = loc_service_connect(EXCHANGE_SERIALIZE, in_dsid, 0);
     647        win->isess = loc_service_connect(in_dsid, INTERFACE_COMPOSITOR, 0);
    648648        if (win->isess == NULL) {
    649649                async_hangup(win->osess);
Note: See TracChangeset for help on using the changeset viewer.