ui/gtk/widget.c

changeset 669
5b930e8c3a87
parent 596
34866811080d
child 801
e096c441e874
--- a/ui/gtk/widget.c	Wed Jul 16 19:15:58 2025 +0200
+++ b/ui/gtk/widget.c	Thu Jul 17 22:01:52 2025 +0200
@@ -37,7 +37,7 @@
     UIWIDGET widget = create_widget(obj, args, userdata);
     
     UI_APPLY_LAYOUT2(current, args);
-    current->container->add(current->container, widget, FALSE);
+    current->container->add(current->container, widget);
     
     return widget;
 }
@@ -47,7 +47,7 @@
     GtkWidget *widget = gtk_separator_new(GTK_ORIENTATION_HORIZONTAL);
     ui_set_name_and_style(widget, args->name, args->style_class);
     UI_APPLY_LAYOUT1(current, (*args));
-    current->container->add(current->container, widget, FALSE);
+    current->container->add(current->container, widget);
     return widget;
 }
 

mercurial