Stop using G_APPLICATION_FLAGS_NONE

It has been deprecated in favor of G_APPLICATION_DEFAULT_FLAGS.
This commit is contained in:
Matthias Clasen
2024-09-25 22:03:23 -04:00
parent ecfe47af73
commit 76e93206f3
8 changed files with 9 additions and 11 deletions

View File

@@ -49,7 +49,7 @@ main (int argc,
g_chdir (GTK_SRCDIR);
#endif
GtkApplication *app = gtk_application_new ("org.gtk.example", G_APPLICATION_FLAGS_NONE);
GtkApplication *app = gtk_application_new ("org.gtk.example", G_APPLICATION_DEFAULT_FLAGS);
g_signal_connect (app, "activate", G_CALLBACK (activate), NULL);
int status = g_application_run (G_APPLICATION (app), argc, argv);