Are you sure this is related to Nimrod?
From what I can see in GTK+'s docs: gtk_image_new_from_file always returns a GtkImage even in case of an error, perhaps try using gdk_pixbuf_new_from_file() as suggested by the docs to get more info about the error.