ui/gtk/window.c

branch
newapi
changeset 411
3e91b7aff6a1
parent 410
a080c69125d1
child 413
b8e41d42f400
--- a/ui/gtk/window.c	Thu Dec 05 20:02:30 2024 +0100
+++ b/ui/gtk/window.c	Fri Dec 06 13:11:09 2024 +0100
@@ -165,6 +165,9 @@
     GtkWidget *toolbar_view = adw_toolbar_view_new();
     adw_toolbar_view_set_content(ADW_TOOLBAR_VIEW(toolbar_view), vbox);
     
+    GtkWidget *content_box = ui_gtk_vbox_new(0);
+    BOX_ADD_EXPAND(GTK_BOX(vbox), content_box);
+    
     if(sidebar) {
         GtkWidget *splitview = adw_overlay_split_view_new();
         adw_application_window_set_content(ADW_APPLICATION_WINDOW(obj->widget), splitview);

mercurial