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:
parent
5ad9b2025c
commit
4ea0f659e2
|
@ -398,7 +398,6 @@ draw_text(draw_context_t *ctx, font_t *font,
|
|||
break;
|
||||
}
|
||||
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,
|
||||
|
|
Loading…
Reference in New Issue