diff options
author | James Booth <boothj5@gmail.com> | 2012-07-30 01:04:37 +0100 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2012-07-30 01:04:37 +0100 |
commit | b80bf037518fb19a87d2fb61cf4aa1cba7f6edc3 (patch) | |
tree | 6e162890eb09ec39541ed14553cc6ac9817d81cd /src | |
parent | 3c0624380a8a54e626dc6e34ad7c0f7d115841fe (diff) | |
download | profani-tty-b80bf037518fb19a87d2fb61cf4aa1cba7f6edc3.tar.gz |
Fixed libnotify includes
Diffstat (limited to 'src')
-rw-r--r-- | src/windows.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/windows.c b/src/windows.c index 0c6b577f..6fc62ebe 100644 --- a/src/windows.c +++ b/src/windows.c @@ -26,7 +26,7 @@ #include <ncurses.h> #include <glib.h> -#ifdef HAVE_LIBNOTIFY_NOTIFY_H +#ifdef HAVE_LIBNOTIFY #include <libnotify/notify.h> #endif @@ -73,7 +73,7 @@ static void _win_handle_switch(const int * const ch); static void _win_handle_page(const int * const ch); static void _win_resize_all(void); -#ifdef HAVE_LIBNOTIFY_NOTIFY_H +#ifdef HAVE_LIBNOTIFY static void _win_notify(char * short_from); #endif @@ -208,13 +208,13 @@ win_show_incomming_msg(const char * const from, const char * const message) if (prefs_get_beep()) beep(); -#ifdef HAVE_LIBNOTIFY_NOTIFY_H +#ifdef HAVE_LIBNOTIFY if (prefs_get_notify()) _win_notify(short_from); #endif } -#ifdef HAVE_LIBNOTIFY_NOTIFY_H +#ifdef HAVE_LIBNOTIFY static void _win_notify(char * short_from) { |