From e8270acbc5118aabbf10738eb9deee07457ea56d Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 16 Feb 2014 23:31:20 +0300 Subject: Fix tests compilation. --- src/gui/widgets/browserbox_unittest.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/widgets/browserbox_unittest.cc') diff --git a/src/gui/widgets/browserbox_unittest.cc b/src/gui/widgets/browserbox_unittest.cc index 506bb071b..7bf674037 100644 --- a/src/gui/widgets/browserbox_unittest.cc +++ b/src/gui/widgets/browserbox_unittest.cc @@ -51,7 +51,7 @@ TEST(browserbox, test1) logger = new Logger(); imageHelper = new SDLImageHelper(); Theme *theme = Theme::instance(); - gcn::Widget::setGlobalFont(new SDLFont("/usr/share/fonts/truetype/" + gcn::Widget::setGlobalFont(new Font("/usr/share/fonts/truetype/" "ttf-dejavu/DejaVuSans-Oblique.ttf", 18)); BrowserBox *box = new BrowserBox(nullptr, BrowserBox::AUTO_WRAP, true, ""); box->setWidth(100); -- cgit v1.2.3-70-g09d2