aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/App.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/FbTk/App.cc')
-rw-r--r--src/FbTk/App.cc6
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
56App::~App() { 57App::~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;