# HG changeset patch # User Olaf Wintermann # Date 1765207284 -3600 # Node ID 39cb60b6a81be42d62afce0aa18aa7ed886a2586 # Parent 471ca81a72f526494e9f4a8e6540818079504c00 fix win32 build diff -r 471ca81a72f5 -r 39cb60b6a81b client/args.c --- a/client/args.c Mon Dec 08 11:36:46 2025 +0100 +++ b/client/args.c Mon Dec 08 16:21:24 2025 +0100 @@ -208,7 +208,7 @@ } init_common_args(value, args, &button_args); - init_states(value, args, (argfunc_set_intarray)ui_button_args_set_groups); + init_states(value, args, (argfunc_set_intarray)ui_button_args_set_states); CxJsonValue *val = cxJsonObjGet(value, "label"); if(val && val->type == CX_JSON_STRING) { @@ -240,7 +240,7 @@ } init_common_args(value, args, &button_args); - init_states(value, args, (argfunc_set_intarray)ui_button_args_set_groups); + init_states(value, args, (argfunc_set_intarray)ui_button_args_set_states); CxJsonValue *val = cxJsonObjGet(value, "label"); if(val && val->type == CX_JSON_STRING) { diff -r 471ca81a72f5 -r 39cb60b6a81b ui/win32/list.c --- a/ui/win32/list.c Mon Dec 08 11:36:46 2025 +0100 +++ b/ui/win32/list.c Mon Dec 08 16:21:24 2025 +0100 @@ -134,7 +134,7 @@ } } else { UiModel *model = ui_model_new(obj->ctx); - ui_model_add_column(obj->ctx, model, UI_STRING, "Test", -1); + ui_model_add_column(model, UI_STRING, "Test", -1); listview->model = model; numcolumns = 1; }