From 3613f8831bdf956242c981ffc969560bcc429abe Mon Sep 17 00:00:00 2001 From: Julian Ospald Date: Wed, 19 Jul 2017 13:09:04 +0200 Subject: [PATCH] Fix build when notify is disabled --- src/app_state.rs | 1 + src/ui/prefs_dialog.rs | 1 + 2 files changed, 2 insertions(+) diff --git a/src/app_state.rs b/src/app_state.rs index 32055cb35..889d1232f 100644 --- a/src/app_state.rs +++ b/src/app_state.rs @@ -89,6 +89,7 @@ where gui, audio, prefs, + #[cfg(feature = "notify")] notif, hotkeys: RefCell::new(hotkeys), }; diff --git a/src/ui/prefs_dialog.rs b/src/ui/prefs_dialog.rs index ee4b313cb..3343326df 100644 --- a/src/ui/prefs_dialog.rs +++ b/src/ui/prefs_dialog.rs @@ -393,6 +393,7 @@ impl PrefsDialog { device_prefs, view_prefs, behavior_prefs, + #[cfg(feature = "notify")] notify_prefs, hotkey_prefs, };