From fe73e95e263dbffa96386ab1aa2b3cd7a78e66dc Mon Sep 17 00:00:00 2001 From: Felipe Menteiro de Carvalho Date: Thu, 17 May 2007 05:55:12 +0000 Subject: Improved form freeing code and general handling of GFApplication.Forms --- gfx/x11/gfx_x11.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gfx/x11') diff --git a/gfx/x11/gfx_x11.pas b/gfx/x11/gfx_x11.pas index 1a9d2228..ad50f149 100644 --- a/gfx/x11/gfx_x11.pas +++ b/gfx/x11/gfx_x11.pas @@ -1438,7 +1438,7 @@ begin GFApplication.DirtyList.ClearQueueForWindow(Self); - GFApplication.Forms.Remove(Self); + GFApplication.RemoveWindow(Self); XDestroyWindow(GFApplication.Handle, Handle); -- cgit v1.2.3-70-g09d2