ui/motif/container.c

changeset 1016
ccde46662db7
parent 922
20dff5f878e1
--- a/ui/motif/container.c	Wed Dec 17 18:31:20 2025 +0100
+++ b/ui/motif/container.c	Thu Dec 18 17:50:15 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