1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-09-01 19:24:15 -04: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
log_debug("Attempting notification: %s", message);
if (notify_is_initted()) {
log_debug("Reinitialising libnotify");
notify_uninit();
notify_init("Profanity");
log_debug("Reinitialising libnotify");
notify_uninit();
notify_init("Profanity");
} else {
log_debug("Initialising libnotify");
notify_init("Profanity");
log_debug("Initialising libnotify");
notify_init("Profanity");
}
if (notify_is_initted()) {
NotifyNotification *notification;