Fix compiler warnings
Fixes the following 4 warnings:
Note:
I've just added a default
case for unhandled switch warnings, which may not be optimal change.
../src/assistant/os-chooser-row.vala:114.9-114.22: warning: implicit .begin is deprecated
114 | on_os_selected (os);
| ^~~~~~~~~~~~~~
../src/machine.vala:138.9-138.32: warning: Switch does not handle `WIZARD', `TROUBLESHOOT', `COLLECTION', `NONE' of enum `Boxes.UIState'
138 | switch (window.ui_state) {
| ^~~~~~~~~~~~~~~~~~~~~~~~
../src/machine.vala:564.9-564.25: warning: Switch does not handle `WIZARD', `TROUBLESHOOT', `PROPERTIES', `NONE' of enum `Boxes.UIState'
564 | switch (ui_state) {
| ^~~~~~~~~~~~~~~~~
../src/media-manager.vala:192.5-192.64: warning: Method `Boxes.MediaManager.load_physical_medias' never used
192 | private async GLib.List<InstallerMedia> load_physical_medias () {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~