From 95f8f33c90dfc367c6ad31a8dc7640512995d809 Mon Sep 17 00:00:00 2001 From: Mathias Gumz Date: Wed, 12 Dec 2012 10:19:09 +0100 Subject: Minor cleaning of 'class Fluxbox' --- src/fluxbox.cc | 5 +++-- src/fluxbox.hh | 1 - 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/fluxbox.cc b/src/fluxbox.cc index 7dd0c4c..4ef6a67 100644 --- a/src/fluxbox.cc +++ b/src/fluxbox.cc @@ -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; } diff --git a/src/fluxbox.hh b/src/fluxbox.hh index 35c1649..f83934a 100644 --- a/src/fluxbox.hh +++ b/src/fluxbox.hh @@ -230,7 +230,6 @@ private: FbTk::ResourceManager m_resourcemanager, &m_screen_rm; std::string m_RC_PATH; - const char *m_RC_INIT_FILE; //--- Resources -- cgit v0.11.2