Add new travis feature for logind
This commit is contained in:
parent
2017d8cd16
commit
e3113caa72
|
@ -36,6 +36,7 @@ env:
|
|||
- FEATURES="backend_udev"
|
||||
- FEATURES="backend_session"
|
||||
- FEATURES="backend_session_udev"
|
||||
- FEATURES="backend_session_logind"
|
||||
- FEATURES="renderer_glium"
|
||||
# test default features
|
||||
- FEATURES="default"
|
||||
|
|
|
@ -79,7 +79,8 @@ pub enum BoundAutoSession {
|
|||
pub struct AutoId(AutoIdInternal);
|
||||
#[derive(PartialEq, Eq)]
|
||||
enum AutoIdInternal {
|
||||
#[cfg(feature = "backend_session_logind")] Logind(logind::Id),
|
||||
#[cfg(feature = "backend_session_logind")]
|
||||
Logind(logind::Id),
|
||||
Direct(direct::Id),
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue