--- a/ui/motif/range.c Sun Apr 16 10:20:21 2023 +0200 +++ b/ui/motif/range.c Tue May 23 11:11:28 2023 +0200 @@ -31,7 +31,6 @@ #include "range.h" #include "container.h" -#include <ucx/mempool.h> #include "../common/context.h" #include "../common/object.h" @@ -61,8 +60,8 @@ } if(f) { - UiEventData *event = ucx_mempool_malloc( - obj->ctx->mempool, + UiEventData *event = cxMalloc( + obj->ctx->allocator, sizeof(UiEventData)); event->obj = obj; event->userdata = userdata;