[NEWBIE] GdkPixbuf loading problem

2003-01-30 Thread Andrej Kacian
Hi world, I have a problem loading pixbufs using gdk_pixbuf_new_from_file() function. Following code results in segmentation fault: /* begin */ char buf[64]; GdkPixbuf *p; GError **err; strcpy(buf, /tmp/image.png); p = gdk_pixbuf_new_from_file(buf, err); /* end of code */ On the

Re: [NEWBIE] GdkPixbuf loading problem

2003-01-30 Thread Michael Hill
On Thu, 2003-01-30 at 15:03, Andrej Kacian wrote: Hi world, I have a problem loading pixbufs using gdk_pixbuf_new_from_file() function. Following code results in segmentation fault: /* begin */ char buf[64]; GdkPixbuf *p; GError **err; strcpy(buf, /tmp/image.png); p =

Re: [NEWBIE] GdkPixbuf loading problem

2003-01-30 Thread Sven Neumann
Hi, Andrej Kacian [EMAIL PROTECTED] writes: I have a problem loading pixbufs using gdk_pixbuf_new_from_file() function. Following code results in segmentation fault: /* begin */ char buf[64]; GdkPixbuf *p; GError **err; strcpy(buf, /tmp/image.png); p =