aboutsummaryrefslogtreecommitdiff
path: root/src/fluxbox.cc
diff options
context:
space:
mode:
authorMathias Gumz <akira at fluxbox dot org>2010-09-08 20:09:06 (GMT)
committerMathias Gumz <akira at fluxbox dot org>2010-09-08 20:09:06 (GMT)
commit8a08110f194170cff462d292d5851735aa5f19ed (patch)
tree6047d4ea2b95fef762c0dfb31c8fa90cc77aab5b /src/fluxbox.cc
parentdc5a105c3e79e8ede296e22217e7406cf24e9495 (diff)
downloadfluxbox-8a08110f194170cff462d292d5851735aa5f19ed.zip
fluxbox-8a08110f194170cff462d292d5851735aa5f19ed.tar.bz2
simpler way of expressing 'Singleton' for 'FbAtoms'
Diffstat (limited to 'src/fluxbox.cc')
-rw-r--r--src/fluxbox.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fluxbox.cc b/src/fluxbox.cc
index 192b44c..d55029b 100644
--- a/src/fluxbox.cc
+++ b/src/fluxbox.cc
@@ -181,7 +181,7 @@ Fluxbox *Fluxbox::s_singleton=0;
181Fluxbox::Fluxbox(int argc, char **argv, const char *dpy_name, 181Fluxbox::Fluxbox(int argc, char **argv, const char *dpy_name,
182 const char *rcfilename, bool xsync) 182 const char *rcfilename, bool xsync)
183 : FbTk::App(dpy_name), 183 : FbTk::App(dpy_name),
184 m_fbatoms(new FbAtoms()), 184 m_fbatoms(FbAtoms::instance()),
185 m_resourcemanager(rcfilename, true), 185 m_resourcemanager(rcfilename, true),
186 // TODO: shouldn't need a separate one for screen 186 // TODO: shouldn't need a separate one for screen
187 m_screen_rm(m_resourcemanager), 187 m_screen_rm(m_resourcemanager),