ui/motif/list.c

changeset 77
bc0ed99e49c7
parent 63
46a42f0c4f93
child 98
efaae97bd95b
equal deleted inserted replaced
76:3782827378ab 77:bc0ed99e49c7
79 XtFree((char *)items); 79 XtFree((char *)items);
80 80
81 if(f) { 81 if(f) {
82 UiListViewEventData *event = ucx_mempool_malloc( 82 UiListViewEventData *event = ucx_mempool_malloc(
83 obj->ctx->mempool, 83 obj->ctx->mempool,
84 sizeof(UiEventData)); 84 sizeof(UiListViewEventData));
85 event->event.obj = obj; 85 event->event.obj = obj;
86 event->event.user_data = udata; 86 event->event.user_data = udata;
87 event->event.callback = f; 87 event->event.callback = f;
88 event->event.value = 0; 88 event->event.value = 0;
89 event->list = list; 89 event->list = list;

mercurial