mirror of
https://github.com/profanity-im/profanity.git
synced 2024-12-04 14:46:46 -05:00
Merge branch 'master' into osx-functional
This commit is contained in:
commit
cb45c41b97
@ -663,7 +663,7 @@ is_notify_enabled(void)
|
|||||||
#ifdef PROF_HAVE_LIBNOTIFY
|
#ifdef PROF_HAVE_LIBNOTIFY
|
||||||
notify_enabled = TRUE;
|
notify_enabled = TRUE;
|
||||||
#endif
|
#endif
|
||||||
#ifdef PLATFORM_CYGWIN
|
#ifdef PROF_PLATFORM_CYGWIN
|
||||||
notify_enabled = TRUE;
|
notify_enabled = TRUE;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -41,7 +41,7 @@
|
|||||||
#ifdef PROF_HAVE_LIBNOTIFY
|
#ifdef PROF_HAVE_LIBNOTIFY
|
||||||
#include <libnotify/notify.h>
|
#include <libnotify/notify.h>
|
||||||
#endif
|
#endif
|
||||||
#ifdef PLATFORM_CYGWIN
|
#ifdef PROF_PLATFORM_CYGWIN
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -227,7 +227,7 @@ notify(const char *const message, int timeout, const char *const category)
|
|||||||
log_error("Libnotify not initialised.");
|
log_error("Libnotify not initialised.");
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
#ifdef PLATFORM_CYGWIN
|
#ifdef PROF_PLATFORM_CYGWIN
|
||||||
NOTIFYICONDATA nid;
|
NOTIFYICONDATA nid;
|
||||||
nid.cbSize = sizeof(NOTIFYICONDATA);
|
nid.cbSize = sizeof(NOTIFYICONDATA);
|
||||||
//nid.hWnd = hWnd;
|
//nid.hWnd = hWnd;
|
||||||
|
Loading…
Reference in New Issue
Block a user