ui/motif/container.c

changeset 117
b174e721663e
parent 115
e57ca2747782
--- a/ui/motif/container.c	Wed Dec 17 22:36:41 2025 +0100
+++ b/ui/motif/container.c	Sat Dec 27 22:47:56 2025 +0100
@@ -448,7 +448,7 @@
     tabview->select = ui_motif_tabview_select;
     tabview->add = ui_motif_tabview_add_tab;
     tabview->remove = ui_motif_tabview_remove;
-    tabview->tabs = cxArrayListCreate(obj->ctx->allocator, cx_cmp_ptr, sizeof(UiTab), 8);
+    tabview->tabs = cxArrayListCreate(obj->ctx->allocator, sizeof(UiTab), 8);
     tabview->current_index = -1;
     
     UiTabViewContainer *ct = ui_malloc(obj->ctx, sizeof(UiTabViewContainer));

mercurial