summaryrefslogtreecommitdiff
path: root/UChown.pas
diff options
context:
space:
mode:
authorTomas Bzatek <tbzatek@redhat.com>2024-12-23 12:09:37 +0100
committerTomas Bzatek <tbzatek@redhat.com>2024-12-23 12:09:37 +0100
commit585635371a182d2b3cd5400f6d26d8e20ade6dbd (patch)
treefe4d71d71ac7aec633488546e939fcca8a754ccd /UChown.pas
parent6475cd8e422b88e8d0fa3499195e6392bd3bbf12 (diff)
downloadtuxcmd-585635371a182d2b3cd5400f6d26d8e20ade6dbd.tar.xz
Drop Application.GTKVersion_2_xxx_Up
...and related quirks along with it. Assume latest gtk2 release.
Diffstat (limited to 'UChown.pas')
-rw-r--r--UChown.pas4
1 files changed, 2 insertions, 2 deletions
diff --git a/UChown.pas b/UChown.pas
index 770c3fe..5e09809 100644
--- a/UChown.pas
+++ b/UChown.pas
@@ -140,7 +140,7 @@ begin
for i := 0 to OwnerListView.Items.Count - 1 do
if OwnerListView.Items[i].AsInteger(1) = UID then begin
OwnerListView.Items[i].Selected := True;
- OwnerListView.Items[i].SetCursor(0, False, not Application.GTKVersion_2_2_0_Up, 0.5, 0);
+ OwnerListView.Items[i].SetCursor(0, False, False, 0.5, 0);
susr := OwnerListView.Items[i].AsString(0);
Break;
end;
@@ -148,7 +148,7 @@ begin
for i := 0 to GroupListView.Items.Count - 1 do
if GroupListView.Items[i].AsInteger(1) = GID then begin
GroupListView.Items[i].Selected := True;
- GroupListView.Items[i].SetCursor(0, False, not Application.GTKVersion_2_2_0_Up, 0.5, 0);
+ GroupListView.Items[i].SetCursor(0, False, False, 0.5, 0);
sgrp := GroupListView.Items[i].AsString(0);
Break;
end;