611
611
glib::Variant autologin(g_dbus_connection_call_sync(bus, "org.freedesktop.Accounts",
612
612
user_path.GetObjectPath().c_str(), "org.freedesktop.DBus.Properties",
613
613
"Get", g_variant_new("(ss)", "org.freedesktop.Accounts.User", "AutomaticLogin"), nullptr,
614
G_DBUS_CALL_FLAGS_NONE, 500, nullptr, &error));
614
G_DBUS_CALL_FLAGS_NONE, 500, cancellable_, &error));