Replace deprecated GTK flag

pull/12114/head
Charlie Ringström 1 year ago committed by Xavier Claessens
parent 229757fe91
commit cbf8e67f19
  1. 2
      docs/markdown/Tutorial.md

@ -141,7 +141,7 @@ int main(int argc, char **argv)
GtkApplication *app;
int status;
app = gtk_application_new(NULL, G_APPLICATION_FLAGS_NONE);
app = gtk_application_new(NULL, 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);

Loading…
Cancel
Save