Changes
1 changed files (+8/-0)
-
-
@@ -82,6 +82,14 @@// Tell Vala compiler to emit C rather than compile using system C compiler. valac.addArg("--ccode"); // Vala's GTK binding incorrectly mark `Gtk.StyleContext` as deprecated, even though // its static method `add_provider_for_display` is the only future proof way to add // CSS. As Vala compiler has no CLI flag or magic comment to suppress specific use of // "deprecated" API, I resorted to suppress entire deprecation warnings. This has risk // of accidentally using deprecated API. It's still better than getting used to see // warnings on build and starting to ignore warnings. valac.addArg("--enable-deprecated"); // Vala compiler uses GResource XML to statically check attributes. valac.addArg("--gresources"); valac.addFileArg(b.path("data/gresource.xml"));
-