Sorry for typos. I forgot to add that a callback to close window was added, but more important the error occured when a second pixbuf was added to the image, thus a simple:
gtk_image_clear(GTK_IMAGE(image));
gtk_image_set_from_pixbuf(GTK_IMAGE(image),pix2);
would avoid the error in your code.Regards,
Katsankat