# HG changeset patch # User Olaf Wintermann # Date 1760027049 -7200 # Node ID a0ea8f3aa6e83c26ec797bdf8f5cb41782701ad3 # Parent 1e1df80772ed0b0a77bd16c7ac57836bafb744f7 fix gtk3 build diff -r 1e1df80772ed -r a0ea8f3aa6e8 ui/gtk/container.c --- a/ui/gtk/container.c Thu Oct 09 18:23:07 2025 +0200 +++ b/ui/gtk/container.c Thu Oct 09 18:24:09 2025 +0200 @@ -1022,7 +1022,7 @@ GtkWidget *sidebar_vbox = g_object_get_data(G_OBJECT(obj->widget), "ui_sidebar"); GtkWidget *box = ui_gtk_vbox_new(args->spacing); - ui_gtk_set_margin(box, args->margin, args->margin-left, args->margin_right, args->margin_top, args->margin_bottom); + ui_gtk_set_margin(box, args->margin, args->margin_left, args->margin_right, args->margin_top, args->margin_bottom); BOX_ADD_EXPAND(sidebar_vbox, box); UiContainerX *container = ui_box_container(obj, box, UI_CONTAINER_VBOX); diff -r 1e1df80772ed -r a0ea8f3aa6e8 ui/gtk/list.c --- a/ui/gtk/list.c Thu Oct 09 18:23:07 2025 +0200 +++ b/ui/gtk/list.c Thu Oct 09 18:24:09 2025 +0200 @@ -1519,7 +1519,7 @@ UIWIDGET ui_combobox_create(UiObject *obj, UiListArgs *args) { GtkWidget *combobox = gtk_combo_box_new(); if(args->width > 0) { - gtk_widget_set_size_request(scroll_area, args->width, -1); + gtk_widget_set_size_request(combobox, args->width, -1); } ui_set_name_and_style(combobox, args->name, args->style_class);