ui/motif/range.c

branch
newapi
changeset 176
bc63cb601f6d
parent 157
0b33b9396851
--- a/ui/motif/range.c	Mon May 22 19:44:27 2023 +0200
+++ b/ui/motif/range.c	Mon May 22 21:21:20 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;

mercurial