diff -r 073a5e893050 -r 0206161e92d5 ui/gtk/container.c
--- a/ui/gtk/container.c	Thu Mar 06 19:51:26 2025 +0100
+++ b/ui/gtk/container.c	Thu Mar 06 20:19:49 2025 +0100
@@ -1068,16 +1068,16 @@
     cxListAdd(s->children, widget);
     
     if(s->pos == 0) {
-        gtk_paned_set_start_child(GTK_PANED(s->current_pane), widget);
+        PANED_SET_CHILD1(s->current_pane, widget);
         s->pos++;
         s->nchildren++;
     } else {
         if(s->nchildren+1 == s->max) {
-            gtk_paned_set_end_child(GTK_PANED(s->current_pane), widget);
+            PANED_SET_CHILD2(s->current_pane, widget);
         } else {
             GtkWidget *pane = create_paned(s->orientation);
-            gtk_paned_set_start_child(GTK_PANED(pane), widget);
-            gtk_paned_set_end_child(GTK_PANED(s->current_pane), pane);
+            PANED_SET_CHILD1(pane, widget);
+            PANED_SET_CHILD2(s->current_pane, pane);
             s->current_pane = pane;
         }