Hey Gyözö,
On Fri, 2006-01-20 at 18:24 +0100, Gyözö Both wrote:
> hi,
>
> i'd say you forgot to end the call with a NULL. also, as far as i know
> the standard way to use GError is to have a 'GError *error;' variable
> and then pass the pointer to it. in your case:
>
> GError *error = NULL;
> Gd
hi,
i'd say you forgot to end the call with a NULL. also, as far as i know
the standard way to use GError is to have a 'GError *error;' variable
and then pass the pointer to it. in your case:
GError *error = NULL;
GdkPixbuf *pixbuf = gdk_pixbuf_new_from_file("input.jpg", &error);
gdk_pixbuf_save(
On Fri, Jan 20, 2006 at 11:36:38AM +0100, László Monda wrote:
> Hi List,
>
> I've just written a simple GDK application that basically converts an
> input JPEG image to a BMP using a Pixbuf.
>
> Unfortunately it segfaults.
>
> 8<
>
> #include
>
> int main(int argc, char *argv[])
> {
>
Laszls Monda schrieb:
Hi List,
I've just written a simple GDK application that basically converts an
input JPEG image to a BMP using a Pixbuf.
Unfortunately it segfaults.
8<
#include
int main(int argc, char *argv[])
{
gdk_init(&argc, &argv);
GError **error = NULL;
GdkPi
On Fri, 2006-01-20 at 11:55 +0100, Colossus wrote:
> László Monda wrote:
> > Could someone here explain why does it segfault?
>
> Compile it with the -g flag and then run it in gdb. When the segfault
> occurs issue bt. You should have the line where the segfault occurs.
Program received signal S
László Monda wrote:
Could someone here explain why does it segfault?
Compile it with the -g flag and then run it in gdb. When the segfault
occurs issue bt. You should have the line where the segfault occurs.
--
Colossus
Xarchiver, a GTK2 only archive manager - http://xarchiver.sourceforge.ne
Hi List,
I've just written a simple GDK application that basically converts an
input JPEG image to a BMP using a Pixbuf.
Unfortunately it segfaults.
8<
#include
int main(int argc, char *argv[])
{
gdk_init(&argc, &argv);
GError **error = NULL;
GdkPixbuf *pixbuf = gdk_pixbu