ui/motif/list.c

changeset 43
157a21a914ac
parent 36
e4198fc2ead4
child 52
25e5390cce41
equal deleted inserted replaced
42:29b2821d1262 43:157a21a914ac
147 } 147 }
148 XtFree((char *)items); 148 XtFree((char *)items);
149 } 149 }
150 150
151 void ui_list_selection_callback (Widget widget, UiListViewEventData *event, XtPointer data) { 151 void ui_list_selection_callback (Widget widget, UiListViewEventData *event, XtPointer data) {
152 XmListCallbackStruct *cbs = (XmListCallbackStruct *) data; 152 XmListCallbackStruct *cbs = (XmListCallbackStruct *)data;
153 153
154 UiEvent e; 154 UiEvent e;
155 e.obj = event->event.obj; 155 e.obj = event->event.obj;
156 e.window = event->event.obj->window; 156 e.window = event->event.obj->window;
157 e.document = event->event.obj->document; 157 e.document = event->event.obj->document;

mercurial