From 585635371a182d2b3cd5400f6d26d8e20ade6dbd Mon Sep 17 00:00:00 2001 From: Tomas Bzatek Date: Mon, 23 Dec 2024 12:09:37 +0100 Subject: Drop Application.GTKVersion_2_xxx_Up ...and related quirks along with it. Assume latest gtk2 release. --- UCore.pas | 2 -- 1 file changed, 2 deletions(-) (limited to 'UCore.pas') diff --git a/UCore.pas b/UCore.pas index 9f1074f..ea13f18 100644 --- a/UCore.pas +++ b/UCore.pas @@ -162,7 +162,6 @@ begin end; Icon := UpDirIcon.FPixbuf; ItemColor := NormalItemGDKColor; - if not Application.GTKVersion_2_0_5_Up then ListItem.SetValue(0, Data); end; ListItem.Data := Data; DataList.Add(Data); @@ -275,7 +274,6 @@ begin AssignFileType(List[i]); DataList.Add(List[i]); ListItem.Data := DataList[DataList.Count - 1]; - if not Application.GTKVersion_2_0_5_Up then ListItem.SetValue(0, List[i]); end; Time2 := Now; DebugMsg(['Fill panel: ', SecondOf(Time2 - Time1), ':', MillisecondOf(Time2 - Time1)]); -- cgit v1.2.3