Minor cleaning of 'class Fluxbox'

This commit is contained in:
Mathias Gumz 2012-12-12 10:19:09 +01:00
parent 4191cbf2d2
commit 95f8f33c90
2 changed files with 3 additions and 3 deletions

View file

@ -149,6 +149,8 @@ using namespace FbTk;
namespace {
const char RC_INIT_FILE[] = "init";
Window last_bad_window = None;
// *** NOTE: if you want to debug here the X errors are
@ -240,7 +242,6 @@ Fluxbox::Fluxbox(int argc, char **argv,
m_screen_rm(m_resourcemanager),
m_RC_PATH(rc_path),
m_RC_INIT_FILE("init"),
m_rc_ignoreborder(m_resourcemanager, false, "session.ignoreBorder", "Session.IgnoreBorder"),
m_rc_pseudotrans(m_resourcemanager, false, "session.forcePseudoTransparency", "Session.forcePseudoTransparency"),
m_rc_colors_per_channel(m_resourcemanager, 4,
@ -1186,7 +1187,7 @@ void Fluxbox::save_rc() {
/// @return filename of resource file
string Fluxbox::getRcFilename() {
if (m_rc_file.empty())
return getDefaultDataFilename(m_RC_INIT_FILE);
return getDefaultDataFilename(RC_INIT_FILE);
return m_rc_file;
}

View file

@ -230,7 +230,6 @@ private:
FbTk::ResourceManager m_resourcemanager, &m_screen_rm;
std::string m_RC_PATH;
const char *m_RC_INIT_FILE;
//--- Resources