]> www.fi.muni.cz Git - evince.git/blobdiff - backend/dvi/mdvi-lib/bitmap.c
dvi: Add image_done method to DviDevice to notify that the image is finished
[evince.git] / backend / dvi / mdvi-lib / bitmap.c
index 53f21207613f11a8b88515a10b0cc098113b7f63..6edec1dfea2036bb0d8f78800d7a5aad40ab3285 100644 (file)
@@ -1028,6 +1028,8 @@ void      mdvi_shrink_glyph_grey(DviContext *dvi, DviFont *font,
                for(x = 0; x < w; x++)
                        dev->put_pixel(image, x, y, pixels[0]);
        }
+
+        dev->image_done(image);
        DEBUG((DBG_BITMAPS, "shrink_glyph_grey: (%dw,%dh,%dx,%dy) -> (%dw,%dh,%dx,%dy)\n",
                glyph->w, glyph->h, glyph->x, glyph->y,
                dest->w, dest->h, dest->x, dest->y));