diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-03-17 21:56:19 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-03-17 21:56:19 +0300 |
commit | be1e878453d984584f11587cbba8bb4b223f9943 (patch) | |
tree | 2aac3acce76ae940f1852dcd252d5270940cb2e6 /src/gui/widgets/browserbox_unittest.cc | |
parent | 7cbd415d9fedb531220c67635cabe5478df94218 (diff) | |
download | mv-be1e878453d984584f11587cbba8bb4b223f9943.tar.gz mv-be1e878453d984584f11587cbba8bb4b223f9943.tar.bz2 mv-be1e878453d984584f11587cbba8bb4b223f9943.tar.xz mv-be1e878453d984584f11587cbba8bb4b223f9943.zip |
Fix unit tests compilation.
Diffstat (limited to 'src/gui/widgets/browserbox_unittest.cc')
-rw-r--r-- | src/gui/widgets/browserbox_unittest.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/browserbox_unittest.cc b/src/gui/widgets/browserbox_unittest.cc index 2acc5f5d3..f8b5e149e 100644 --- a/src/gui/widgets/browserbox_unittest.cc +++ b/src/gui/widgets/browserbox_unittest.cc @@ -50,7 +50,7 @@ TEST(browserbox, test1) logger = new Logger(); imageHelper = new SDLImageHelper(); - Theme *theme = Theme::instance(); + theme = new Theme; Widget::setGlobalFont(new Font("/usr/share/fonts/truetype/" "ttf-dejavu/DejaVuSans-Oblique.ttf", 18)); BrowserBox *box = new BrowserBox(nullptr, BrowserBox::AUTO_WRAP, true, ""); |