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 <gtk/gtk.h> int main(int argc, char *argv[]) { gdk_init(&argc, &argv); GError **error = NULL; GdkPixbuf *pixbuf = gdk_pixbuf_new_from_file("input.jpg", error); gdk_pixbuf_save(pixbuf, "output.bmp", "bmp", error); return 0; } ----8<---- Could someone here explain why does it segfault? -- Laci Blog: http://monda.hu/~laci/blog Home: http://mondalaci.objectis.net _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list