aboutsummaryrefslogtreecommitdiffstats
path: root/ponymix.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ponymix.cc')
-rw-r--r--ponymix.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/ponymix.cc b/ponymix.cc
index fce4611..cdd25e0 100644
--- a/ponymix.cc
+++ b/ponymix.cc
@@ -667,11 +667,11 @@ int main(int argc, char* argv[]) {
#ifdef HAVE_NOTIFY
if (opt_notify) {
- ponymix.EnableNotifications(new LibnotifyNotifier);
+ ponymix.SetNotifier(std::make_unique<LibnotifyNotifier>());
} else
#endif
{
- ponymix.EnableNotifications(new CommandLineNotifier);
+ ponymix.SetNotifier(std::make_unique<CommandLineNotifier>());
}
return CommandDispatch(ponymix, argc, argv);