Tidied #include's

This commit is contained in:
James Booth
2013-02-02 20:55:58 +00:00
parent 8cc4b55945
commit fc5bfb7d33
31 changed files with 69 additions and 66 deletions

View File

@@ -33,14 +33,14 @@
#include <ncurses.h>
#endif
#include "common.h"
#include "command.h"
#include "common.h"
#include "contact_list.h"
#include "log.h"
#include "preferences.h"
#include "profanity.h"
#include "theme.h"
#include "ui.h"
#include "ui/ui.h"
#define _inp_win_refresh() prefresh(inp_win, 0, pad_start, rows-1, 0, rows-1, cols-1)

View File

@@ -32,7 +32,7 @@
#endif
#include "theme.h"
#include "ui.h"
#include "ui/ui.h"
static WINDOW *status_bar;
static char *message = NULL;

View File

@@ -25,7 +25,7 @@
#include "common.h"
#include "theme.h"
#include "ui.h"
#include "ui/ui.h"
static WINDOW *title_bar;
static char *current_title = NULL;

View File

@@ -28,7 +28,6 @@
#include <wchar.h>
#include <glib.h>
#ifdef HAVE_NCURSESW_NCURSES_H
#include <ncursesw/ncurses.h>
#elif HAVE_NCURSES_H

View File

@@ -26,7 +26,6 @@
#include <string.h>
#include <glib.h>
#ifdef HAVE_NCURSESW_NCURSES_H
#include <ncursesw/ncurses.h>
#elif HAVE_NCURSES_H
@@ -34,7 +33,7 @@
#endif
#include "theme.h"
#include "window.h"
#include "ui/window.h"
#define CONS_WIN_TITLE "_cons"

View File

@@ -23,7 +23,7 @@
#ifndef WINDOW_H
#define WINDOW_H
#include "ui.h"
#include "ui/ui.h"
typedef struct prof_win_t {
char *from;

View File

@@ -24,20 +24,16 @@
#include <stdlib.h>
#include <string.h>
#ifdef HAVE_LIBXSS
#include <X11/extensions/scrnsaver.h>
#endif
#include <glib.h>
#ifdef HAVE_LIBNOTIFY
#include <libnotify/notify.h>
#endif
#ifdef PLATFORM_CYGWIN
#include <windows.h>
#endif
#ifdef HAVE_NCURSESW_NCURSES_H
#include <ncursesw/ncurses.h>
#elif HAVE_NCURSES_H
@@ -51,11 +47,11 @@
#include "contact_list.h"
#include "jid.h"
#include "log.h"
#include "preferences.h"
#include "muc.h"
#include "preferences.h"
#include "theme.h"
#include "ui.h"
#include "window.h"
#include "ui/ui.h"
#include "ui/window.h"
#define CONS_WIN_TITLE "_cons"
#define NUM_WINS 10