summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-03-17 21:56:19 +0300
committerAndrei Karas <akaras@inbox.ru>2014-03-17 21:56:19 +0300
commitbe1e878453d984584f11587cbba8bb4b223f9943 (patch)
tree2aac3acce76ae940f1852dcd252d5270940cb2e6 /src/gui
parent7cbd415d9fedb531220c67635cabe5478df94218 (diff)
downloadplus-be1e878453d984584f11587cbba8bb4b223f9943.tar.gz
plus-be1e878453d984584f11587cbba8bb4b223f9943.tar.bz2
plus-be1e878453d984584f11587cbba8bb4b223f9943.tar.xz
plus-be1e878453d984584f11587cbba8bb4b223f9943.zip
Fix unit tests compilation.
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/widgets/browserbox_unittest.cc2
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, "");