Fixed a bogus call to cairo_destroy

dev
Johan Bilien 14 years ago committed by Kristian Høgsberg
parent 6048e8d9f6
commit 990854d019
  1. 2
      clients/image.c

@ -162,7 +162,7 @@ image_draw(struct image *image)
rectangle.width, rectangle.width,
rectangle.height); rectangle.height);
cairo_destroy(wsurface); cairo_surface_destroy(wsurface);
cr = cairo_create(surface); cr = cairo_create(surface);
cairo_set_operator(cr, CAIRO_OPERATOR_SOURCE); cairo_set_operator(cr, CAIRO_OPERATOR_SOURCE);
cairo_set_source_rgba(cr, 0, 0, 0, 1); cairo_set_source_rgba(cr, 0, 0, 0, 1);

Loading…
Cancel
Save