chiark / gitweb /
systemctl: skip writing of utmp if we booted using systemd, under the assumption...
[elogind.git] / src / systemadm.vala
index 65a58b7162d5639b71e57ada9a0fc8eb4b563910..3610e2b8f42a31ff8fa8fb199341a2db0a6c7c3f 100644 (file)
@@ -297,7 +297,7 @@ public class MainWindow : Window {
 
                 bbox.pack_start(cancel_button, false, true, 0);
 
-                bus = Bus.get(session ? BusType.SESSION : BusType.SYSTEM);
+                bus = DBus.Bus.get(session ? DBus.BusType.SESSION : DBus.BusType.SYSTEM);
 
                 manager = bus.get_object(
                                 "org.freedesktop.systemd1",