Cleanup unneeded headers (thanks Slava Semushin)

This commit is contained in:
mathias 2006-04-25 06:46:06 +00:00
parent e2bc57bc0f
commit a15d9af3c7
7 changed files with 34 additions and 53 deletions

View file

@ -1,6 +1,9 @@
(Format: Year/Month/Day)
Changes for 0.9.16:
*06/04/25:
* Cleanup unneeded headers (thanks Slava Semushin)
FbAtoms.cc Slit.cc Keys.cc FocusControl.cc FbTk/App.cc
util/fbrun/FbRun.cc
* Fix occasional highlighting of menu nops+separators, sf.net patch
#1475268 (thanks Scott Kuhl; skuhl AT cs utah edu)
FbTk/MenuSeparator.hh/cc FbTk/Menu.cc MenuCreator.cc

View file

@ -25,11 +25,6 @@
#include "App.hh"
#include <string>
#ifdef HAVE_CASSERT
#include <cassert>
#else
#include <assert.h>
#endif
using namespace std;

View file

@ -25,11 +25,6 @@
#include "EventManager.hh"
#ifdef HAVE_CASSERT
#include <cassert>
#else
#include <assert.h>
#endif
#include <string>
namespace FbTk {

View file

@ -31,8 +31,8 @@
#include "FbWinFrameTheme.hh"
#include <string>
#include <cassert>
#include <iostream>
using std::cerr;
using std::endl;
using std::string;

View file

@ -87,11 +87,6 @@
#include <fstream>
#include <vector>
#include <map>
#ifdef HAVE_CASSERT
#include <cassert>
#else
#include <assert.h>
#endif
#include <memory>
using namespace std;

View file

@ -67,11 +67,6 @@
#include <algorithm>
#include <iostream>
#ifdef HAVE_CASSERT
#include <cassert>
#else
#include <assert.h>
#endif
#ifdef HAVE_SYS_STAT_H
#include <sys/types.h>

View file

@ -48,13 +48,9 @@
#include <iterator>
#include <fstream>
#include <algorithm>
#ifdef HAVE_CASSERT
#include <cassert>
#else
#include <assert.h>
#endif
using namespace std;
FbRun::FbRun(int x, int y, size_t width):
FbTk::TextBox(DefaultScreen(FbTk::App::instance()->display()),
m_font, ""),
@ -395,9 +391,11 @@ void FbRun::tabCompleteApps() {
size_t rseparator= prefix.find_last_of("/");
path= prefix.substr(0, rseparator + 1) + ":";
add_dirs= true;
} else
path= getenv("PATH");
} else {
char* tmp_path = getenv("PATH");
if (tmp_path)
path = tmp_path;
}
m_apps.clear();
unsigned int l;