Re: Weird problems: C library programs crashing in combination with GTK UI

2008-01-26 Thread Chris Vine
On Wed, 2008-01-23 at 10:18 +1100, Michael Lamothe wrote: > Hi, > > Alternatively, you can use the new gdk_threads_add_timeout() available > in GTK 2.12. It's a GDK thread safe drop-in-replacement for > g_timeout_add(). g_timeout_add() is thread safe provided that, if any GDK/GTK+ functions are

Re: Weird problems: C library programs crashing in combination with GTK UI

2008-01-22 Thread Michael Lamothe
Hi, Alternatively, you can use the new gdk_threads_add_timeout() available in GTK 2.12. It's a GDK thread safe drop-in-replacement for g_timeout_add(). Thanks, Michael On 23/01/2008, Tristan Van Berkom <[EMAIL PROTECTED]> wrote: > 2008/1/22 <[EMAIL PROTECTED]>: > [...] > > > > > Pseudo code fo

Re: Weird problems: C library programs crashing in combination with GTK UI

2008-01-22 Thread Tristan Van Berkom
2008/1/22 <[EMAIL PROTECTED]>: [...] > > Pseudo code for my call back function [for some button which will initiate > action] is as follows: > > /***CALL BACK FUNCTION CODE SNIPPET ***/ > g_timeout_add(1500,progress_timeout,progressbarwidget); > > f1();//THE BIG FUN