1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-12-04 14:46:46 -05:00

Merge branch 'master' into winbuffers

This commit is contained in:
James Booth 2014-06-29 19:35:28 +01:00
commit c4844a0626

View File

@ -165,12 +165,12 @@ _notify(const char * const message, int timeout,
#ifdef HAVE_LIBNOTIFY #ifdef HAVE_LIBNOTIFY
log_debug("Attempting notification: %s", message); log_debug("Attempting notification: %s", message);
if (notify_is_initted()) { if (notify_is_initted()) {
log_debug("Reinitialising libnotify"); log_debug("Reinitialising libnotify");
notify_uninit(); notify_uninit();
notify_init("Profanity"); notify_init("Profanity");
} else { } else {
log_debug("Initialising libnotify"); log_debug("Initialising libnotify");
notify_init("Profanity"); notify_init("Profanity");
} }
if (notify_is_initted()) { if (notify_is_initted()) {
NotifyNotification *notification; NotifyNotification *notification;