[gnome-boxes/unbreak-runtime-generation] Revert "installer-media: Add supports_efi() method"



commit 61f54e04e2a77fa39289299e6501b130822d94de
Author: Felipe Borges <felipeborges gnome org>
Date:   Fri Oct 4 18:10:31 2019 +0200

    Revert "installer-media: Add supports_efi() method"
    
    This reverts commit a391cb9a4e82b3251be8c62ac5e0b6cc301df204.

 src/installer-media.vala | 14 --------------
 1 file changed, 14 deletions(-)
---
diff --git a/src/installer-media.vala b/src/installer-media.vala
index db3e2480..dd66c8a9 100644
--- a/src/installer-media.vala
+++ b/src/installer-media.vala
@@ -55,20 +55,6 @@
         }
     }
 
-    public bool supports_efi {
-        get {
-            if (os == null)
-                return false;
-
-            foreach (var iter in os.get_firmware_list (null) .get_elements ()) {
-                var firmware = iter as Firmware;
-                if (firmware.get_firmware_type () == "efi")
-                    return true;
-            }
-            return false;
-        }
-    }
-
     public bool prefers_q35 {
         get {
             if (os == null)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]