diff options
author | James Booth <boothj5@gmail.com> | 2015-06-15 17:11:11 +0100 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2015-06-15 17:11:11 +0100 |
commit | 732533ee5ab58a6f0da2d90423d54e9e4520db04 (patch) | |
tree | e68b14fa06cb62148feebc024546f36bd34f77eb /src/ui | |
parent | a780168566eb4594b811c3324ff2456a9ba1358d (diff) | |
download | profani-tty-732533ee5ab58a6f0da2d90423d54e9e4520db04.tar.gz |
I removed ncurses header dependencies, removed unused code
Diffstat (limited to 'src/ui')
-rw-r--r-- | src/ui/ui.h | 5 | ||||
-rw-r--r-- | src/ui/window.h | 12 | ||||
-rw-r--r-- | src/ui/windows.c | 6 |
3 files changed, 6 insertions, 17 deletions
diff --git a/src/ui/ui.h b/src/ui/ui.h index 29ee6bef..7a2c956b 100644 --- a/src/ui/ui.h +++ b/src/ui/ui.h @@ -40,11 +40,6 @@ #include <wchar.h> #include <glib.h> -#ifdef HAVE_NCURSESW_NCURSES_H -#include <ncursesw/ncurses.h> -#elif HAVE_NCURSES_H -#include <ncurses.h> -#endif #include "contact.h" #include "jid.h" diff --git a/src/ui/window.h b/src/ui/window.h index 06fbf7b5..e4d9ca33 100644 --- a/src/ui/window.h +++ b/src/ui/window.h @@ -39,18 +39,18 @@ #include <wchar.h> -#ifdef HAVE_NCURSESW_NCURSES_H -#include <ncursesw/ncurses.h> -#elif HAVE_NCURSES_H -#include <ncurses.h> -#endif - #include "contact.h" #include "muc.h" #include "ui/buffer.h" #include "xmpp/xmpp.h" #include "chat_state.h" +#ifdef HAVE_NCURSESW_NCURSES_H +#include <ncursesw/ncurses.h> +#elif HAVE_NCURSES_H +#include <ncurses.h> +#endif + #define NO_ME 1 #define NO_DATE 2 #define NO_EOL 4 diff --git a/src/ui/windows.c b/src/ui/windows.c index 2334efc8..38c7079a 100644 --- a/src/ui/windows.c +++ b/src/ui/windows.c @@ -40,12 +40,6 @@ #include <glib.h> -#ifdef HAVE_NCURSESW_NCURSES_H -#include <ncursesw/ncurses.h> -#elif HAVE_NCURSES_H -#include <ncurses.h> -#endif - #include "common.h" #include "roster_list.h" #include "config/theme.h" |