ui/motif/container.c

changeset 480
7dfd5e546b99
parent 475
8e06a446d552
child 482
5bc95a6228b0
--- a/ui/motif/container.c	Wed Feb 26 18:59:21 2025 +0100
+++ b/ui/motif/container.c	Wed Feb 26 21:14:24 2025 +0100
@@ -39,20 +39,7 @@
 #include "Grid.h"
 
 
-UIWIDGET ui_customwidget_create(UiObject *obj, ui_createwidget_func create_widget, void *userdata, UiWidgetArgs args) {
-    Arg xargs[64];
-    int n = 0;
-    
-    UiContainerPrivate *ctn = ui_obj_container(obj);
-    UI_APPLY_LAYOUT(ctn->layout, args);
-    
-    Widget parent = ctn->prepare(ctn, xargs, &n);
-    Widget widget = create_widget(obj, args, userdata, parent, xargs, n);
-    XtManageChild(widget);
-    ctn->add(ctn, widget);
-    
-    return widget;
-}
+
 
 /* ---------------------------- Box Container ---------------------------- */
 

mercurial