diff options
author | Pavel Labath <pavelo@centrum.sk> | 2011-07-08 13:35:42 (GMT) |
---|---|---|
committer | Paul Tagliamonte <paultag@fluxbox.org> | 2012-04-07 02:11:30 (GMT) |
commit | e7d184a90b8a9a68b0177e29d47f6d9b1abeadbf (patch) | |
tree | 57e017608d02234e4e3b14e39d26c7240e415b40 /src/fluxbox.cc | |
parent | 42b54c31ed07df2e3d68bcff8882104c5f7bd50b (diff) | |
download | fluxbox_paul-e7d184a90b8a9a68b0177e29d47f6d9b1abeadbf.zip fluxbox_paul-e7d184a90b8a9a68b0177e29d47f6d9b1abeadbf.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 9751ac7..74d248e 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 | ||