application: Call style_manager from startup

It was called from app constructed before. That's too early since since
GTK/Adw is not initialized yet. This is treated as an error in GTK
4.17.0 and terminates the app on startup.

Closes #423
This commit is contained in:
Sophie Herold 2024-11-11 17:05:37 +01:00
parent 8bcf89ba00
commit c5c2dce069
2 changed files with 7 additions and 6 deletions

View file

@ -0,0 +1 @@
Don't call style manager in application constructor since this is too early. Do it in startup instead. Without this fix, GTK 4.17.0 will terminate the app on startup.