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; |