summaryrefslogtreecommitdiff
path: root/src/unittests/gui/windowmanager_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/unittests/gui/windowmanager_unittest.cc')
-rw-r--r--src/unittests/gui/windowmanager_unittest.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/unittests/gui/windowmanager_unittest.cc b/src/unittests/gui/windowmanager_unittest.cc
index 59178f1b5..6090555ee 100644
--- a/src/unittests/gui/windowmanager_unittest.cc
+++ b/src/unittests/gui/windowmanager_unittest.cc
@@ -507,7 +507,8 @@ TEST_CASE("Windows tests", "windowmanager")
{
MailMessage *message = new MailMessage;
CREATEWIDGETV(mailViewWindow, MailViewWindow,
- message);
+ message,
+ 1);
gui->draw();
mainGraphics->updateScreen();
delete2(mailViewWindow);