rem: GT_SetGadgetAttrs(req->listviewgadget, req->Window, NULL, ((selected == ~0) || (GadToolsBase->lib_Version >= 39) ? TAG_IGNORE : GTLV_Top),selected, (selected == ~0 ? TAG_IGNORE : GTLV_MakeVisible),selected, GTLV_Selected,selected, TAG_DONE);
add: if( selected == ~0 || GadToolsBase->lib_Version >= 39 ) { top = TAG_IGNORE; }  if( selected == ~0 ) { makevisible = TAG_IGNORE; }  GT_SetGadgetAttrs(req->listviewgadget, req->Window, NULL, top,           selected, makevisible,   selected, GTLV_Selected, selected, TAG_DONE);
context: static void SetSelected(struct AHIAudioModeRequesterExt *req, BOOL all){  LONG sliderlevels,sliderlevel,selected;  BOOL disabled = !sliderlevels || (req->tempAudioID == AHI_DEFAULT_ID);  if(all)  {    //Set listview    selected=GetSelected(req);      GT_SetGadgetAttrs(req->listviewgadget, req->Window, NULL,          ((selected == ~0) || (GadToolsBase->lib_Version >= 39) ? TAG_IGNORE : GTLV_Top),selected,          (selected == ~0 ? TAG_IGNORE : GTLV_MakeVisible),selected,          GTLV_Selected,selected,          TAG_DONE);  }  //Set slider  GetSliderAttrs(req,&sliderlevels,&sliderlevel);  GT_SetGadgetAttrs(req->slidergadget, req->Window, NULL,      GTSL_Max,sliderlevels-1,      GTSL_Level, sliderlevel,      GA_Disabled,disabled,      TAG_DONE);  UpdateInfoWindow(req);}