On Wed, 2007-03-14 at 11:49 +0100, Luka Napotnik wrote:
> while (gtk_events_pending())
>     gtk_main_iteration();
> gdk_threads_leave();

I don't think it's correct to try to run the main loop (which is what
the gtk_events_pending/gtk_main_iteration does) from a second thread.  I
can't promise this is the problem, but that looks extremely shady to me.

- Michael

-- 
Michael Ekstrand
Research Assistant, Scalable Computing Laboratory
Goanna, compute cluster and InfiniBand network monitor tool:
        http://www.scl.ameslab.gov/Projects/Monitor/

_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to