diff options
Diffstat (limited to 'Games/Minesweeper/main.cpp')
-rw-r--r-- | Games/Minesweeper/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Games/Minesweeper/main.cpp b/Games/Minesweeper/main.cpp index 96ad49e1bd..27b568e72c 100644 --- a/Games/Minesweeper/main.cpp +++ b/Games/Minesweeper/main.cpp @@ -14,7 +14,7 @@ int main(int argc, char** argv) { GApplication app(argc, argv); - auto* window = new GWindow; + auto window = GWindow::construct(); window->set_resizable(false); window->set_title("Minesweeper"); window->set_rect(100, 100, 139, 175); |