aboutsummaryrefslogtreecommitdiff
path: root/examples/hello-world
diff options
context:
space:
mode:
Diffstat (limited to 'examples/hello-world')
-rw-r--r--examples/hello-world/hello.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/hello-world/hello.cpp b/examples/hello-world/hello.cpp
index ddcbc7a..dd8aa56 100644
--- a/examples/hello-world/hello.cpp
+++ b/examples/hello-world/hello.cpp
@@ -5,7 +5,7 @@ auto main(int argc, char ** argv) -> int
auto app = Adwaita::Application::create("org.example.Hello");
app->signal_activate().connect([app] {
- auto window = new Adwaita::ApplicationWindow{*app};
+ auto window = new Adwaita::ApplicationWindow{app};
app->signal_shutdown().connect([window] { delete window; });
window->present();