removed duplicate headers, patch from Slava Semushin aka php-coder
This commit is contained in:
parent
a3c5fd6000
commit
3efe68ffe3
6 changed files with 9 additions and 16 deletions
|
@ -72,12 +72,6 @@
|
|||
|
||||
#include <errno.h>
|
||||
|
||||
#ifdef HAVE_CSTDLIB
|
||||
#include <cstdlib>
|
||||
#else
|
||||
#include <stdlib.h>
|
||||
#endif
|
||||
|
||||
using std::string;
|
||||
using std::map;
|
||||
using std::list;
|
||||
|
|
|
@ -31,7 +31,6 @@
|
|||
#include <string>
|
||||
#include <list>
|
||||
#include <vector>
|
||||
#include <string>
|
||||
|
||||
#include "XrmDatabaseHelper.hh"
|
||||
#include "Subject.hh"
|
||||
|
|
|
@ -27,7 +27,6 @@
|
|||
#include "Screen.hh"
|
||||
#include "CommandParser.hh"
|
||||
#include "fluxbox.hh"
|
||||
#include "CommandParser.hh"
|
||||
#include "Window.hh"
|
||||
#include "WindowCmd.hh"
|
||||
|
||||
|
|
|
@ -65,9 +65,6 @@
|
|||
#include "FbTk/StringUtil.hh"
|
||||
#include "FbTk/I18n.hh"
|
||||
|
||||
#include <algorithm>
|
||||
#include <iostream>
|
||||
|
||||
#ifdef HAVE_SYS_STAT_H
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
|
|
|
@ -36,7 +36,6 @@
|
|||
#include "FbTk/Timer.hh"
|
||||
#include "FbTk/Resource.hh"
|
||||
#include "FbTk/XLayerItem.hh"
|
||||
#include "Layer.hh"
|
||||
|
||||
#include <X11/Xlib.h>
|
||||
#include <X11/Xutil.h>
|
||||
|
|
|
@ -50,7 +50,6 @@
|
|||
#include "FbTk/XrmDatabaseHelper.hh"
|
||||
#include "FbTk/Command.hh"
|
||||
#include "FbTk/RefCount.hh"
|
||||
#include "FbTk/SimpleCommand.hh"
|
||||
#include "FbTk/CompareEqual.hh"
|
||||
#include "FbTk/Transparent.hh"
|
||||
#include "FbTk/Select2nd.hh"
|
||||
|
@ -330,10 +329,14 @@ Fluxbox::Fluxbox(int argc, char **argv, const char *dpy_name, const char *rcfile
|
|||
setupConfigFiles();
|
||||
|
||||
if (! XSupportsLocale())
|
||||
cerr<<_FB_CONSOLETEXT(Fluxbox, WarningLocale, "Warning: X server does not support locale", "XSupportsLocale returned false")<<endl;
|
||||
cerr<<_FB_CONSOLETEXT(Fluxbox, WarningLocale,
|
||||
"Warning: X server does not support locale",
|
||||
"XSupportsLocale returned false")<<endl;
|
||||
|
||||
if (XSetLocaleModifiers("") == 0)
|
||||
cerr<<_FB_CONSOLETEXT(Fluxbox, WarningLocaleModifiers, "Warning: cannot set locale modifiers", "XSetLocaleModifiers returned false")<<endl;
|
||||
cerr<<_FB_CONSOLETEXT(Fluxbox, WarningLocaleModifiers,
|
||||
"Warning: cannot set locale modifiers",
|
||||
"XSetLocaleModifiers returned false")<<endl;
|
||||
|
||||
|
||||
#ifdef HAVE_GETPID
|
||||
|
@ -353,7 +356,9 @@ Fluxbox::Fluxbox(int argc, char **argv, const char *dpy_name, const char *rcfile
|
|||
for (i = 1; i < m_argc; i++) {
|
||||
if (! strcmp(m_argv[i], "-screen")) {
|
||||
if ((++i) >= m_argc) {
|
||||
cerr << _FB_CONSOLETEXT(main, ScreenRequiresArg, "error, -screen requires argument", "the -screen option requires a file argument") << endl;
|
||||
cerr << _FB_CONSOLETEXT(main, ScreenRequiresArg,
|
||||
"error, -screen requires argument",
|
||||
"the -screen option requires a file argument") << endl;
|
||||
exit(1);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue