Re: Re: Re: Losing GtkTextBuffer when threading

2005-10-12 Thread Dan McKinnon
Oh my, what a silly mistake. Two days of head-pounding action and it was indeed a silly mistake. For the curious, I had a function int network_connect( networktype *net ){ ... pthread_create(..., &net ); } emphasis on the silly &net! Ooops. Thanks for the support guys. ___

Re: Re: Losing GtkTextBuffer when threading

2005-10-11 Thread Dan McKinnon
Alan M. Evans wrote: On Mon, 2005-10-10 at 19:51, Dan McKinnon wrote: typedef struct networktype{ ... GtkTextBuffer *output_buffer; .. } networktype; void append_to_buffer( GtkTextBuffer *output_buffer, char *text ){ GtkTextIter output_end; gtk_text_buffer_get_end_i

Re: Losing GtkTextBuffer when threading

2005-10-11 Thread Alan M. Evans
On Mon, 2005-10-10 at 19:51, Dan McKinnon wrote: > typedef struct networktype{ > ... > GtkTextBuffer *output_buffer; > .. > } networktype; > void append_to_buffer( GtkTextBuffer *output_buffer, char *text ){ > GtkTextIter output_end; > gtk_text_buffer_get_end_iter( output_buffe