dialect-app / dialect

A translation app for GNOME.
https://dialectapp.org/
GNU General Public License v3.0
609 stars 69 forks source link

[gtk4] Using GtkSettings:gtk-application-prefer-dark-theme with libadwaita is unsupported #217

Closed yochananmarqos closed 3 years ago

yochananmarqos commented 3 years ago

The program seems to function properly, but I see these warnings with libadwaita 1.0.0-alpha3.


❯ dialect

(com.github.gi_lom.dialect:1429442): Adwaita-WARNING **: 13:18:17.762: Using GtkSettings:gtk-application-prefer-dark-theme with libadwaita is unsupported. Please use AdwStyleManager:color-scheme instead.

(com.github.gi_lom.dialect:1429442): Gtk-WARNING **: 13:18:22.461: Allocating size to AdwGizmo 0x561d30bdc180 without calling gtk_widget_measure(). How does the code know the size to allocate?

(com.github.gi_lom.dialect:1429442): Adwaita-WARNING **: 13:18:23.834: Using GtkSettings:gtk-application-prefer-dark-theme with libadwaita is unsupported. Please use AdwStyleManager:color-scheme instead.
`
mufeedali commented 3 years ago

Are you by any chance using the older "gtk4" branch?

yochananmarqos commented 3 years ago

Aw, crap. I just noticed you merged the Gtk4 port commits into main. Sorry to be a bother.

mufeedali commented 3 years ago

No worries. Kinda our fault for not deleting the older gtk4 branch 😅

mufeedali commented 3 years ago

Deleted the older branch now to avoid confusion :)