diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/ui/notifier.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/notifier.c b/src/ui/notifier.c index 352351f9..02f7edfe 100644 --- a/src/ui/notifier.c +++ b/src/ui/notifier.c @@ -204,11 +204,11 @@ notify(const char* const message, int timeout, const char* const category) if (notify_is_initted()) { log_debug("Reinitialising libnotify"); notify_uninit(); - notify_init("Profanity"); } else { log_debug("Initialising libnotify"); - notify_init("Profanity"); } + notify_init("Profanity"); + if (notify_is_initted()) { NotifyNotification* notification; notification = notify_notification_new("Profanity", message, NULL); |