summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZeeshan Ali (Khattak) <zeeshanak@gnome.org>2012-07-10 22:04:12 +0300
committerZeeshan Ali (Khattak) <zeeshanak@gnome.org>2012-07-11 10:39:46 +0300
commit68fd4c8d18d1c968837069ecf693bcb3a81d314e (patch)
tree752c84fc7a6fe23629efb607df828e7edbfac0ff
parent85ba308c0f87473b42f15ab2063a4eb8bb750402 (diff)
InstallerMedia.from_iso_info doesn't have nullable params
None of the parameters of InstallerMedia.from_iso_info() have to be nullable. Marking a non-nullable parameters as nullable could easily lead to issues later. https://bugzilla.gnome.org/show_bug.cgi?id=679657
-rw-r--r--src/installer-media.vala10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/installer-media.vala b/src/installer-media.vala
index a0823c9..fa848c5 100644
--- a/src/installer-media.vala
+++ b/src/installer-media.vala
@@ -14,11 +14,11 @@ private class Boxes.InstallerMedia : Object {
public bool live { get { return os_media == null || os_media.live; } }
- public InstallerMedia.from_iso_info (string path,
- string label,
- Os os,
- Media? media,
- Osinfo.Resources? resources) {
+ public InstallerMedia.from_iso_info (string path,
+ string label,
+ Os os,
+ Media media,
+ Osinfo.Resources resources) {
this.device_file = path;
this.os = os;
this.os_media = media;