diff options
Diffstat (limited to 'ponymix.cc')
-rw-r--r-- | ponymix.cc | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); |