diff options
author | simonb <simonb> | 2006-05-07 03:41:27 (GMT) |
---|---|---|
committer | simonb <simonb> | 2006-05-07 03:41:27 (GMT) |
commit | 520f552be79581be50156bb7785e7ef0ce946b07 (patch) | |
tree | 82edcbb794f6b89804a2a7f75e0122afcc074f94 /src/FbTk/App.cc | |
parent | 0e9fa988ff41cc32a390f70443669a6df45f3e44 (diff) | |
download | fluxbox-520f552be79581be50156bb7785e7ef0ce946b07.zip fluxbox-520f552be79581be50156bb7785e7ef0ce946b07.tar.bz2 |
handle utf-8 strings properly.
use utf8 internally
Diffstat (limited to 'src/FbTk/App.cc')
-rw-r--r-- | src/FbTk/App.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/FbTk/App.cc b/src/FbTk/App.cc index 11bea9b..0b773c4 100644 --- a/src/FbTk/App.cc +++ b/src/FbTk/App.cc | |||
@@ -20,6 +20,7 @@ | |||
20 | // DEALINGS IN THE SOFTWARE. | 20 | // DEALINGS IN THE SOFTWARE. |
21 | 21 | ||
22 | #include "App.hh" | 22 | #include "App.hh" |
23 | #include "FbString.hh" | ||
23 | #include "Font.hh" | 24 | #include "Font.hh" |
24 | #include "Image.hh" | 25 | #include "Image.hh" |
25 | 26 | ||
@@ -49,15 +50,16 @@ App::App(const char *displayname):m_done(false), m_display(0) { | |||
49 | if (!m_display) | 50 | if (!m_display) |
50 | throw std::string("Couldn't connect to XServer"); | 51 | throw std::string("Couldn't connect to XServer"); |
51 | 52 | ||
52 | Font::init(); | 53 | FbStringUtil::init(); |
53 | Image::init(); | 54 | Image::init(); |
54 | } | 55 | } |
55 | 56 | ||
56 | App::~App() { | 57 | App::~App() { |
57 | if (m_display != 0) { | 58 | if (m_display != 0) { |
58 | 59 | ||
59 | Font::shutdown(); | 60 | Font::shutdown(); |
60 | Image::shutdown(); | 61 | Image::shutdown(); |
62 | FbStringUtil::shutdown(); | ||
61 | 63 | ||
62 | XCloseDisplay(m_display); | 64 | XCloseDisplay(m_display); |
63 | m_display = 0; | 65 | m_display = 0; |