ui/motif/range.c

branch
newapi
changeset 178
7c3ff86ee9d4
parent 176
bc63cb601f6d
child 406
0ebf9d7b23e8
--- 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;

mercurial