We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
StrV
1 parent 2a1a4e4 commit cc623ccCopy full SHA for cc623cc
gtk4/src/constraint_layout.rs
@@ -36,7 +36,7 @@ impl ConstraintLayout {
36
let out = ffi::gtk_constraint_layout_add_constraints_from_descriptionv(
37
self.to_glib_none().0,
38
lines.as_ptr() as *const _,
39
- lines.len() as _,
+ lines.len().saturating_sub(1) as _,
40
hspacing,
41
vspacing,
42
hash_table,
0 commit comments