diff options
author | Pavel Labath <pavelo@centrum.sk> | 2011-07-08 13:35:42 (GMT) |
---|---|---|
committer | Pavel Labath <pavelo@centrum.sk> | 2011-11-01 09:57:21 (GMT) |
commit | dbc29ae953ab73b9cdd2a13dbe17a1eb0a8c863a (patch) | |
tree | 0ad775057cef0499f1e02d0946ecb2ac52cf3eed /src/fluxbox.cc | |
parent | b3bd3805961c05776c7f398ce98082effebd8ca2 (diff) | |
download | fluxbox_pavel-dbc29ae953ab73b9cdd2a13dbe17a1eb0a8c863a.zip fluxbox_pavel-dbc29ae953ab73b9cdd2a13dbe17a1eb0a8c863a.tar.bz2 |
use Lua::registerInitFunction to simplify some parts of code
Diffstat (limited to 'src/fluxbox.cc')
-rw-r--r-- | src/fluxbox.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/fluxbox.cc b/src/fluxbox.cc index 912d61f..5a10c7b 100644 --- a/src/fluxbox.cc +++ b/src/fluxbox.cc | |||
@@ -43,6 +43,7 @@ | |||
43 | #include "FbTk/FileUtil.hh" | 43 | #include "FbTk/FileUtil.hh" |
44 | #include "FbTk/ImageControl.hh" | 44 | #include "FbTk/ImageControl.hh" |
45 | #include "FbTk/EventManager.hh" | 45 | #include "FbTk/EventManager.hh" |
46 | #include "FbTk/LuaUtil.hh" | ||
46 | #include "FbTk/StringUtil.hh" | 47 | #include "FbTk/StringUtil.hh" |
47 | #include "FbTk/Util.hh" | 48 | #include "FbTk/Util.hh" |
48 | #include "FbTk/LResource.hh" | 49 | #include "FbTk/LResource.hh" |
@@ -227,7 +228,7 @@ Fluxbox::Fluxbox(int argc, char **argv, | |||
227 | const std::string& dpy_name, | 228 | const std::string& dpy_name, |
228 | const std::string& rc_path, const std::string& rc_filename, bool xsync) | 229 | const std::string& rc_path, const std::string& rc_filename, bool xsync) |
229 | : FbTk::App(dpy_name.c_str()), | 230 | : FbTk::App(dpy_name.c_str()), |
230 | m_l(new lua::state()), | 231 | m_l(new Lua), |
231 | m_fbatoms(FbAtoms::instance()), | 232 | m_fbatoms(FbAtoms::instance()), |
232 | m_resourcemanager("session", *m_l), | 233 | m_resourcemanager("session", *m_l), |
233 | 234 | ||