Re: reload image from a file into a pixbuffer

2006-11-01 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, Nov 01, 2006 at 09:56:03AM +, Yianni wrote: > Hi, > > a very simple question but I cannot find an answer in the api How do > I load a picture from a file into a pixbuffer? I tried with g_timeout_add > and using the following code (

reload image from a file into a pixbuffer

2006-11-01 Thread Yianni
Hi, a very simple question but I cannot find an answer in the api How do I load a picture from a file into a pixbuffer? I tried with g_timeout_add and using the following code (which obviously not only does not work but has memory leak problems) gboolean draw_image() { GdkPixbuf *ar