On 12/21/05, Suresh Stephen <[EMAIL PROTECTED]> wrote:
>  Hi all,
>   I am working on developing a gui for my application which runs many posix 
> threads. These threads will try to update the text view by adding text.

You shouldn't update the text view from a thread other than the main
GUI thread.  Your UI is not thread safe.  You should have your threads
processing information and when data is ready to be displayed, you can
use g_idle_add() to call a function in the main thread that actually
prints it to your text view.

-D
_______________________________________________
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