rem: LinkedList *ret=NULL;
add: WMBag *ret = WMCreateBag(8);
context: getSelected(WDock *dock){    LinkedList *ret=NULL;    WAppIcon *btn;    int i;    for (i=1; i<dock->max_icons; i++) {        btn = dock->icon_array[i];        if (btn && btn->icon->selected) {            ret = list_cons(btn, ret);        }    }    return ret;}