(test_main:499854): Adwaita-WARNING **: 00:20:22.105: Using GtkSettings:gtk-application-prefer-dark-theme with libadwaita is unsupported. Please use AdwStyleManager:color-scheme instead.
I am aware of what this means, my question is, how do I prevent this warning from being printed? It also happens when using Adw.Application, even if I have never interacted with Gtk.Settings.
The only way to get rid of this warning is to stop using GtkSettings:gtk-application-prefer-dark-theme, note that this can be set in gtk settings in .config among other ways outside of the app.