I fixed this issue by making g_timeout() calls to a function that checks
a queue for requests to change the UI.

Greets,
Luka

On sre, 2007-03-14 at 08:40 -0500, Michael Ekstrand wrote:
> 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
> 

_______________________________________________
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