diff options
author | andy5995 <arch_stanton5995@protonmail.com> | 2022-12-10 01:12:13 -0600 |
---|---|---|
committer | andy5995 <arch_stanton5995@protonmail.com> | 2022-12-10 01:12:13 -0600 |
commit | 6e7ecb02f1a1e01a4f43be270ec4e91e6dff4d01 (patch) | |
tree | f1a7d86ce783fe4f3febff3fedc774b6422d0807 | |
parent | 146cf0bdd4a4f3dda6a330aa68774b27dc2fbb11 (diff) | |
download | gtk+-6e7ecb02f1a1e01a4f43be270ec4e91e6dff4d01.tar.gz |
docs: Update deprecated G_APPLICATION_FLAGS_NONE
-rw-r--r-- | docs/reference/gtk/getting_started.md | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/reference/gtk/getting_started.md b/docs/reference/gtk/getting_started.md index bde0a6d0d0..079dec4068 100644 --- a/docs/reference/gtk/getting_started.md +++ b/docs/reference/gtk/getting_started.md @@ -51,7 +51,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); @@ -189,7 +189,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); @@ -338,7 +338,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); @@ -560,7 +560,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); @@ -641,7 +641,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); |