draw: do not delete image on text rendering

This is not our job.

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2008-08-14 07:36:34 +02:00
parent 5ad9b2025c
commit 4ea0f659e2
1 changed files with 0 additions and 1 deletions

View File

@ -398,7 +398,6 @@ draw_text(draw_context_t *ctx, font_t *font,
break; break;
} }
draw_image(ctx, x, y, pdata->bg_resize ? area.height : 0, pdata->bg_image); draw_image(ctx, x, y, pdata->bg_resize ? area.height : 0, pdata->bg_image);
draw_image_delete(&pdata->bg_image);
} }
pango_layout_set_width(ctx->layout, pango_layout_set_width(ctx->layout,