[gnome-boxes] libvirt-machine: Machine parent already provides is_running property



commit 369d4bdcdbeb54d0f4396b463d79b2562831716b
Author: Felipe Borges <felipeborges gnome org>
Date:   Tue Dec 14 14:40:31 2021 +0100

    libvirt-machine: Machine parent already provides is_running property

 src/libvirt-machine.vala | 1 -
 1 file changed, 1 deletion(-)
---
diff --git a/src/libvirt-machine.vala b/src/libvirt-machine.vala
index 26d1fe12..f80dba6f 100644
--- a/src/libvirt-machine.vala
+++ b/src/libvirt-machine.vala
@@ -45,7 +45,6 @@
         }
     }
 
-    public bool is_running { get { return state == MachineState.RUNNING; } }
     public bool run_in_bg { get; set; } // If true, machine will never be paused automatically by Boxes.
 
     private bool _acceleration_3d;


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