From 68fd4c8d18d1c968837069ecf693bcb3a81d314e Mon Sep 17 00:00:00 2001 From: "Zeeshan Ali (Khattak)" Date: Tue, 10 Jul 2012 22:04:12 +0300 Subject: 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 --- src/installer-media.vala | 10 +++++----- 1 file 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; -- cgit v1.2.3