application/main.c

changeset 658
b25f54b51d76
parent 653
dc0eb8151254
child 666
86c3f109ed3b
equal deleted inserted replaced
657:02bcdbc34f31 658:b25f54b51d76
445 case 4: return "file"; 445 case 4: return "file";
446 } 446 }
447 return NULL; 447 return NULL;
448 } 448 }
449 449
450 void sourcelist_getvalue(void *sublistdata, void *rowdata, int index, UiSubListItem *item, void *userdata) { 450 void sourcelist_getvalue(UiList *list, void *sublistdata, void *rowdata, int index, UiSubListItem *item, void *userdata) {
451 item->label = strdup(rowdata); 451 item->label = strdup(rowdata);
452 item->eventdata = sublistdata; 452 item->eventdata = sublistdata;
453 } 453 }
454 454
455 typedef struct Item { 455 typedef struct Item {

mercurial