Fix a deprecation warning
authorMatthias Clasen <mclasen@redhat.com>
Thu, 2 Feb 2023 08:03:26 +0000 (09:03 +0100)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 2 Feb 2023 08:03:26 +0000 (09:03 +0100)
examples/hello/hello-world.c

index 3f501dfe64c146bdcd772acea72ccd7f7a5fabe2..30edbee7ced50f5e6d10afe08516aea6c2066df8 100644 (file)
@@ -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);