ui/motif/container.c

changeset 29
3fc287f06305
parent 0
2483f517c562
--- a/ui/motif/container.c	Sun Feb 11 15:59:56 2024 +0100
+++ b/ui/motif/container.c	Mon Feb 12 17:32:02 2024 +0100
@@ -674,7 +674,7 @@
     
     UiObject *content = ui_malloc(view->ctx, sizeof(UiObject));
     content->widget = NULL; // initialization for uic_context()
-    content->ctx = uic_context(content, view->ctx->allocator);
+    content->ctx = uic_context(content, view->ctx->mp);
     content->ctx->parent = view->ctx;
     content->ctx->attach_document = uic_context_attach_document;
     content->ctx->detach_document2 = uic_context_detach_document2;

mercurial