summaryrefslogtreecommitdiff
path: root/src/unittests/gui/widgets
diff options
context:
space:
mode:
Diffstat (limited to 'src/unittests/gui/widgets')
-rw-r--r--src/unittests/gui/widgets/browserbox.cc4
-rw-r--r--src/unittests/gui/widgets/staticbrowserbox.cc4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/unittests/gui/widgets/browserbox.cc b/src/unittests/gui/widgets/browserbox.cc
index 009474031..737cf547c 100644
--- a/src/unittests/gui/widgets/browserbox.cc
+++ b/src/unittests/gui/widgets/browserbox.cc
@@ -65,11 +65,11 @@ TEST_CASE("BrowserBox tests", "browserbox")
#ifdef USE_SDL2
SDLImageHelper::setRenderer(graphicsManager.createRenderer(
- graphicsManager.createWindow(640, 480, 0,
+ GraphicsManager::createWindow(640, 480, 0,
SDL_WINDOW_SHOWN | SDL_SWSURFACE), SDL_RENDERER_SOFTWARE));
#else // USE_SDL2
- graphicsManager.createWindow(640, 480, 0, SDL_ANYFORMAT | SDL_SWSURFACE);
+ GraphicsManager::createWindow(640, 480, 0, SDL_ANYFORMAT | SDL_SWSURFACE);
#endif // USE_SDL2
theme = new Theme;
diff --git a/src/unittests/gui/widgets/staticbrowserbox.cc b/src/unittests/gui/widgets/staticbrowserbox.cc
index 0c429e19c..4efd3f87c 100644
--- a/src/unittests/gui/widgets/staticbrowserbox.cc
+++ b/src/unittests/gui/widgets/staticbrowserbox.cc
@@ -65,11 +65,11 @@ TEST_CASE("StaticBrowserBox tests", "browserbox")
#ifdef USE_SDL2
SDLImageHelper::setRenderer(graphicsManager.createRenderer(
- graphicsManager.createWindow(640, 480, 0,
+ GraphicsManager::createWindow(640, 480, 0,
SDL_WINDOW_SHOWN | SDL_SWSURFACE), SDL_RENDERER_SOFTWARE));
#else // USE_SDL2
- graphicsManager.createWindow(640, 480, 0, SDL_ANYFORMAT | SDL_SWSURFACE);
+ GraphicsManager::createWindow(640, 480, 0, SDL_ANYFORMAT | SDL_SWSURFACE);
#endif // USE_SDL2
theme = new Theme;