Skip to content

Commit 80a1419

Browse files
GuillaumeGomezbilelmoussaoui
authored andcommitted
Add missing sentences
1 parent 02df6af commit 80a1419

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

_posts/2024-02-04-new-release.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ layout: post
33
author: gtk-rs developers
44
title: New Release
55
categories: [front, crates]
6-
date: 2024-02-04 20:00:00 +0000
6+
date: 2024-06-01 13:00:00 +0000
77
---
88

99
Although this release happened a few months ago, we finally had time to finish this release blog post!
@@ -44,11 +44,11 @@ sender.send_blocking(MyMessage).expect("Channel closed");
4444

4545
#### Removal of re-exported once_cell crate, use `std::cell::OnceCell` / `std::sync::OnceLock`
4646

47-
<!-- need to write something -->
47+
If you need lazy initialization then `once_cell::sync::Lazy` is still useful until `LazyCell` / `LazyLock` from `std` are finalized.
4848

4949
#### Re-organized traits in glib
5050

51-
<!-- need to write something -->
51+
If you get a compiler error because of missing traits, usually the solution would be to make sure that the prelude of the crates (e.g. `gtk::prelude::*`) is imported.
5252

5353
#### Dynamic types support
5454

@@ -137,7 +137,7 @@ For more complex cases, see the documentation [glib::object_subclass](https://do
137137
### gtk4-rs
138138

139139
* GTK 4.14 APIs support
140-
* Support `TemplateChild<T>` usage with `glib::Properties` macro
140+
* Support `TemplateChild<T>` usage with `glib::Properties` macro, allowing `TemplateChild<T>` to be used as properties
141141

142142
[gtk4-rs](https://github.com/gtk-rs/gtk4-rs):
143143

0 commit comments

Comments
 (0)