rem: proplist_t menus, menu, key, rkey, skey, wkey;
add: proplist_t menus, menu, key, skey;
context: wMenuRestoreState(WScreen *scr){    proplist_t menus, menu, key, rkey, skey, wkey;    key = PLMakeString("Menus");    menus = PLGetDictionaryEntry(scr->session_state, key);    PLRelease(key);    if (!menus)        return;    /* restore menus */    rkey = PLMakeString("RootMenu");    skey = PLMakeString("SwitchMenu");    wkey = PLMakeString("WorkspaceMenu");    menu = PLGetDictionaryEntry(menus, rkey);    restoreMenu(scr, menu, WSS_ROOTMENU);    menu = PLGetDictionaryEntry(menus, skey);    restoreMenu(scr, menu, WSS_SWITCHMENU);    menu = PLGetDictionaryEntry(menus, wkey);    restoreMenu(scr, menu, WSS_WSMENU);    PLRelease(rkey);    PLRelease(skey);    PLRelease(wkey);}