To save looking up in the docs, it should be the following: Gtk.Settings.get_default ().gtk_application_prefer_dark_theme = true;
To save looking up in the docs, it should be the following: get_default ().gtk_ application_ prefer_ dark_theme = true;
Gtk.Settings.