From be1e878453d984584f11587cbba8bb4b223f9943 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 17 Mar 2014 21:56:19 +0300 Subject: Fix unit tests compilation. --- src/gui/widgets/browserbox_unittest.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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, ""); -- cgit v1.2.3-70-g09d2