diff options
author | Matthias Clasen <mclasen@redhat.com> | 2023-02-02 09:03:26 +0100 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2023-02-02 09:03:26 +0100 |
commit | d43968f7b6e76097de871698d3f510ec4651a175 (patch) | |
tree | ed387962abd3d2356c268d0d721079d53c2f396f /examples | |
parent | 26650787e199802f0b485ab6d20c4497be4c38e6 (diff) | |
download | gtk+-d43968f7b6e76097de871698d3f510ec4651a175.tar.gz |
Fix a deprecation warning
Diffstat (limited to 'examples')
-rw-r--r-- | examples/hello/hello-world.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/hello/hello-world.c b/examples/hello/hello-world.c index 3f501dfe64..30edbee7ce 100644 --- a/examples/hello/hello-world.c +++ b/examples/hello/hello-world.c @@ -37,7 +37,7 @@ main (int argc, GtkApplication *app; int status; - app = gtk_application_new ("org.gtk.example", G_APPLICATION_FLAGS_NONE); + app = gtk_application_new ("org.gtk.example", G_APPLICATION_DEFAULT_FLAGS); g_signal_connect (app, "activate", G_CALLBACK (activate), NULL); status = g_application_run (G_APPLICATION (app), argc, argv); g_object_unref (app); |