image: don't print redundant error
authorBill Spitzak <spitzak@gmail.com>
Wed, 20 Aug 2014 01:13:11 +0000 (18:13 -0700)
committerPekka Paalanen <pekka.paalanen@collabora.co.uk>
Thu, 11 Sep 2014 10:11:29 +0000 (13:11 +0300)
This error is printed by load_image() now

Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
clients/image.c

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