Fix build when notify is disabled

This commit is contained in:
Julian Ospald 2017-07-19 13:09:04 +02:00
parent 506ad72015
commit 3613f8831b
2 changed files with 2 additions and 0 deletions

View File

@ -89,6 +89,7 @@ where
gui, gui,
audio, audio,
prefs, prefs,
#[cfg(feature = "notify")]
notif, notif,
hotkeys: RefCell::new(hotkeys), hotkeys: RefCell::new(hotkeys),
}; };

View File

@ -393,6 +393,7 @@ impl PrefsDialog {
device_prefs, device_prefs,
view_prefs, view_prefs,
behavior_prefs, behavior_prefs,
#[cfg(feature = "notify")]
notify_prefs, notify_prefs,
hotkey_prefs, hotkey_prefs,
}; };