I used to do this...
g_type_init ();
gdk_threads_init ();
gdk_threads_enter ();
gtk_init (&argc, &argv);
/*app code*/
gtk_main ();
gdk_threads_leave ()
So If I use the new GtkApplication class where do I do that (in example below)?
GtkApplication *app;
gint status;
app = gtk_application_new ("org.codeslayer", G_APPLICATION_FLAGS_NONE);
g_signal_connect (app, "activate", G_CALLBACK (activate), NULL);
status = g_application_run (G_APPLICATION (app), argc, argv);
g_object_unref (app);
-Jeff
_______________________________________________ gtk-list mailing list gtk-list@xxxxxxxxx https://mail.gnome.org/mailman/listinfo/gtk-list