LCL, fix exception on gtk1 while trying to load default font

git-svn-id: trunk@26719 -
This commit is contained in:
jesus 2010-07-17 18:33:18 +00:00
parent 4a03e1482b
commit 62d890f71d

View File

@ -1433,7 +1433,7 @@ var
procedure LoadDefaultFont;
begin
DisposeGDIObject(GdiObject);
ReleaseGdiObject(GdiObject);
GdiObject:=CreateDefaultFont;
{$IFDEF VerboseFonts}
DebugLn('TGtkWidgetSet.CreateFontIndirectEx.LoadDefaultFont');