[gnome-boxes] Minor coding-style fixes
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-boxes] Minor coding-style fixes
- Date: Thu, 29 Nov 2012 02:38:33 +0000 (UTC)
commit 51166598af364dcc2e194ebc0b3f6e6edf2ae32a
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date: Wed Nov 21 03:17:26 2012 +0200
Minor coding-style fixes
src/installer-media.vala | 2 +-
src/unattended-installer.vala | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/installer-media.vala b/src/installer-media.vala
index 032416b..a890f51 100644
--- a/src/installer-media.vala
+++ b/src/installer-media.vala
@@ -72,7 +72,7 @@ private class Boxes.InstallerMedia : GLib.Object {
public virtual async void prepare_for_installation (string vm_name, Cancellable? cancellable) throws GLib.Error {}
public virtual void setup_domain_config (Domain domain) {
- add_cd_config (domain, from_image?DomainDiskType.FILE:DomainDiskType.BLOCK, device_file, "hdc", true);
+ add_cd_config (domain, from_image? DomainDiskType.FILE : DomainDiskType.BLOCK, device_file, "hdc", true);
}
public virtual void populate_setup_vbox (Gtk.VBox setup_vbox) {}
diff --git a/src/unattended-installer.vala b/src/unattended-installer.vala
index 7d72952..dd7e42d 100644
--- a/src/unattended-installer.vala
+++ b/src/unattended-installer.vala
@@ -150,9 +150,9 @@ private abstract class Boxes.UnattendedInstaller: InstallerMedia {
yield unattended_file.copy (cancellable);
} catch (GLib.Error error) {
clean_up ();
- // An error occurred when trying to setup unattended installation, but it's likely that a non-unattended installation
- // will work. When this happens, just disable unattended installs, and let the caller decide if it wants to retry a
- // non-automatic install or to just abort the box creation..
+ // An error occurred when trying to setup unattended installation, but it's likely that a non-unattended
+ // installation will work. When this happens, just disable unattended installs, and let the caller decide
+ // if it wants to retry a non-automatic install or to just abort the box creation..
express_toggle.active = false;
throw error;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]