Skip to content

Commit

Permalink
add change.md
Browse files Browse the repository at this point in the history
  • Loading branch information
FabioGNR committed Dec 17, 2024
1 parent bdcba7a commit 12a0a18
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .changes/explicit_gtk_init.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"tao": patch
---

Explicitly call `gtk::init()` as `gtk::Application::new` does not call it reliably.
If `gtk::init()` is not called, 'GTK may only be used from the main thread' error can occur later.
`gtk::init()` checks if already initialized and does nothing if so.

0 comments on commit 12a0a18

Please sign in to comment.