Hi,

Some days ago I asked about Xlib async error. It seems I solve the
problem but in one point I'm still getting dead lock. Is it critical
to put
        g_thread_init(NULL);
        gdk_threads_init();
before
        Gtk::Main Kit(argc, argv); ?

What I have now is:
        Gtk::Main mKit(argc, argv); //<--- this is first
        g_thread_init(NULL);
        gdk_threads_init();
        gdk_threads_enter();
        Gtk::Main::run(mMainWindow);
        gdk_threads_leave();

So, is it bad to put Kit initialization before threads initialization?
Please, gime an advise.
_______________________________________________
gtkmm-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtkmm-list

Reply via email to