mirror of
https://github.com/profanity-im/profanity.git
synced 2025-01-03 14:57:42 -05:00
Fixed PLATFORM_CYGWIN references
This commit is contained in:
parent
1ddfa47313
commit
185405b9d1
@ -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