diff options
author | Michael Meeks <michael.meeks@suse.com> | 2011-10-03 20:06:35 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@suse.com> | 2011-10-25 13:41:52 +0100 |
commit | 2e48ed930d61e02da82c71790994204d3aefaa29 (patch) | |
tree | 8920ef777b7de30688eba5b5b70db78f0b7fff8b /vcl | |
parent | caccd13297506fad6b528617c6a53adcda79267a (diff) |
gtk3: fix gtk2 crash-on-exit regression
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/unx/generic/gdi/gcach_xpeer.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/vcl/unx/generic/gdi/gcach_xpeer.cxx b/vcl/unx/generic/gdi/gcach_xpeer.cxx index fdf01a2833b9..f68314bf8e7f 100644 --- a/vcl/unx/generic/gdi/gcach_xpeer.cxx +++ b/vcl/unx/generic/gdi/gcach_xpeer.cxx @@ -85,6 +85,9 @@ X11GlyphPeer::X11GlyphPeer() X11GlyphPeer::~X11GlyphPeer() { + if( !ImplGetSVData() ) + return; + SalDisplay* pSalDisp = GetGenericData()->GetSalDisplay(); Display* const pX11Disp = pSalDisp->GetDisplay(); XRenderPeer& rRenderPeer = XRenderPeer::GetInstance(); |