summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2023-02-02 09:03:26 +0100
committerMatthias Clasen <mclasen@redhat.com>2023-02-02 09:03:26 +0100
commitd43968f7b6e76097de871698d3f510ec4651a175 (patch)
treeed387962abd3d2356c268d0d721079d53c2f396f /examples
parent26650787e199802f0b485ab6d20c4497be4c38e6 (diff)
downloadgtk+-d43968f7b6e76097de871698d3f510ec4651a175.tar.gz
Fix a deprecation warning
Diffstat (limited to 'examples')
-rw-r--r--examples/hello/hello-world.c2
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);