image: don't print redundant error

This error is printed by load_image() now

Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
dev
Bill Spitzak 10 years ago committed by Pekka Paalanen
parent 28371f7d55
commit 5e3b693a11
  1. 1
      clients/image.c

@ -373,7 +373,6 @@ image_create(struct display *display, const char *filename,
image->image = load_cairo_surface(filename); image->image = load_cairo_surface(filename);
if (!image->image) { if (!image->image) {
fprintf(stderr, "could not find the image %s!\n", b);
free(image->filename); free(image->filename);
free(image); free(image);
return NULL; return NULL;

Loading…
Cancel
Save