g_object_ref(imd->read_ahead_fd->pixbuf);
image_cache_set(imd, imd->read_ahead_fd);
}
- else
- {
- imd->read_ahead_fd->pixbuf = pixbuf_inline(PIXBUF_INLINE_BROKEN);
- }
}
image_loader_free(imd->read_ahead_il);
imd->read_ahead_il = NULL;
image_cache_set(imd, imd->image_fd);
}
- if (imd->delay_flip &&
+ if (!image_loader_get_pixbuf(imd->il))
+ {
+ GdkPixbuf *pixbuf;
+
+ pixbuf = pixbuf_inline(PIXBUF_INLINE_BROKEN);
+ image_change_pixbuf(imd, pixbuf, image_zoom_get(imd));
+ g_object_unref(pixbuf);
+
+ imd->unknown = TRUE;
+ }
+ else if (imd->delay_flip &&
image_get_pixbuf(imd) != image_loader_get_pixbuf(imd->il))
{
g_object_set(G_OBJECT(imd->pr), "complete", FALSE, NULL);