Skip to content

Commit 31c174b

Browse files
Hofer-Julianbilelmoussaoui
authored andcommitted
book: Update instructions to v4_12
1 parent 239a0b1 commit 31c174b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

book/src/project_setup.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,14 @@ pkg-config --modversion gtk4
1616
```
1717

1818
Use this information to add the [gtk4 crate](https://crates.io/crates/gtk4) to your dependencies in `Cargo.toml`.
19-
At the time of this writing the newest version is `4.8`.
19+
At the time of this writing the newest version is `4.12`.
2020

2121
```
22-
cargo add gtk4 --rename gtk --features v4_8
22+
cargo add gtk4 --rename gtk --features v4_12
2323
```
2424

25+
By specifying this feature you opt-in to API that was added with minor releases of GTK 4.
26+
2527
Now, you can run your application by executing:
2628
```
2729
cargo run

0 commit comments

Comments
 (0)