rem: WMUserDefaults *udb = WMGetStandardUserDefaults();  textureList = PLMakeArrayFromElements(NULL, NULL);   for (i = 6; i < WMGetListNumberOfRows(panel->texLs); i++) { item = WMGetListItem(panel->texLs, i); titem = (TextureListItem*)item->clientData;  texture = PLMakeArrayFromElements(PLMakeString(titem->title), PLRetain(titem->prop), PLMakeString(titem->path), NULL);  PLAppendArrayElement(textureList, texture); }  WMSetUDObjectForKey(udb, textureList, "TextureList"); PLRelease(textureList);
context: storeData(_Panel *panel){    proplist_t textureList;    proplist_t texture;    int i;    TextureListItem *titem;    WMListItem *item;    WMUserDefaults *udb = WMGetStandardUserDefaults();    textureList = PLMakeArrayFromElements(NULL, NULL);    /* store list of textures */    for (i = 6; i < WMGetListNumberOfRows(panel->texLs); i++) {	item = WMGetListItem(panel->texLs, i);	titem = (TextureListItem*)item->clientData;	texture = PLMakeArrayFromElements(PLMakeString(titem->title),					  PLRetain(titem->prop),					  PLMakeString(titem->path),					  NULL);	PLAppendArrayElement(textureList, texture);    }    WMSetUDObjectForKey(udb, textureList, "TextureList");    PLRelease(textureList);    item = WMGetListItem(panel->texLs, panel->textureIndex[0]);    titem = (TextureListItem*)item->clientData;    SetObjectForKey(titem->prop, "FTitleBack");    item = WMGetListItem(panel->texLs, panel->textureIndex[1]);    titem = (TextureListItem*)item->clientData;    SetObjectForKey(titem->prop, "UTitleBack");    item = WMGetListItem(panel->texLs, panel->textureIndex[2]);    titem = (TextureListItem*)item->clientData;    SetObjectForKey(titem->prop, "PTitleBack");    item = WMGetListItem(panel->texLs, panel->textureIndex[3]);    titem = (TextureListItem*)item->clientData;    SetObjectForKey(titem->prop, "MenuTitleBack");    item = WMGetListItem(panel->texLs, panel->textureIndex[4]);    titem = (TextureListItem*)item->clientData;    SetObjectForKey(titem->prop, "MenuTextBack");    item = WMGetListItem(panel->texLs, panel->textureIndex[5]);    titem = (TextureListItem*)item->clientData;    SetObjectForKey(titem->prop, "IconBack");}