--- a/ui/gtk/tree.c Sun Feb 01 12:37:31 2015 +0100 +++ b/ui/gtk/tree.c Wed Feb 11 11:34:55 2015 +0100 @@ -78,7 +78,7 @@ // add callback if(f) { - UiTreeEventData *event = ui_malloc(obj->ctx, sizeof(UiEventData)); + UiTreeEventData *event = ui_malloc(obj->ctx, sizeof(UiTreeEventData)); event->obj = obj; event->userdata = udata; event->activate = f;