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. --- UGnome.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'UGnome.pas') diff --git a/UGnome.pas b/UGnome.pas index 9a04734..2536d42 100644 --- a/UGnome.pas +++ b/UGnome.pas @@ -1457,7 +1457,7 @@ begin // The table that holds the entries priv.entry_container := gtk_alignment_new (0.0, 0.0, 1.0, 1.0); - if can_anonymous and Application.GTKVersion_2_4_0_Up then g_object_set (priv.entry_container, 'left-padding', 12, nil); + if can_anonymous then g_object_set (priv.entry_container, 'left-padding', 12, nil); gtk_box_pack_start (GTK_BOX (vbox), priv.entry_container, FALSE, FALSE, 0); table := gtk_table_new (rows, 2, FALSE); -- cgit v1.2.3