Skip to content

Commit 1517068

Browse files
authored
Fix PropertySpec builder
1 parent 63becba commit 1517068

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_posts/2022-10-18-new-release.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ When creating properties for GObject subclasses they need to be declared beforeh
185185

186186
```rust
187187
// Now
188-
let pspec = glib::ParamSpecUInt("name")
188+
let pspec = glib::ParamSpecUInt::builder("name")
189189
.maximum(1000)
190190
.construct()
191191
.build();

0 commit comments

Comments
 (0)