Commit 0b3b2c14 authored by Chris Wilson's avatar Chris Wilson Committed by Chris Wilson
Browse files

Ensure the GdkPixmap is destroyed along with the VteXft context.

2007-09-30  Chris Wilson  <chris@chris-wilson.co.uk>

    * src/vtexft.c (_vte_xft_destroy):
	Ensure the GdkPixmap is destroyed along with the VteXft
	context.


svn path=/trunk/; revision=1956
parent bb4a9d34
2007-09-30 Chris Wilson <chris@chris-wilson.co.uk>
* src/vtexft.c (_vte_xft_destroy):
Ensure the GdkPixmap is destroyed along with the VteXft
context.
2007-09-26 Chris Wilson <chris@chris-wilson.co.uk>
Bug 480735 Underlining whitespace not reliable
......
......@@ -381,6 +381,9 @@ _vte_xft_destroy (struct _vte_draw *draw)
_vte_xft_unlock_fonts (data);
_vte_xft_font_close (data->font);
}
if (data->pixmap != NULL) {
g_object_unref (data->pixmap);
}
if (data->draw != NULL) {
XftDrawDestroy (data->draw);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment