Commit 65a51ad9 authored by Juha Manninen's avatar Juha Manninen
Browse files

LCL-GTK2: Partly revert r53653 #273d60e1, check for gtk_minor_version again. Issue #32196.

git-svn-id: trunk@55789 -
parent f331aaa8
......@@ -462,9 +462,13 @@ begin
gtk_editable_set_position(PGtkEditable(Widget), GStart);
end else
begin
g_object_set_data(PGObject(Widget),'lcl-gtkentry-pasted-data',Widget);
g_idle_add(@GtkEntryDelayCursorPos, Widget);
exit;
if gtk_minor_version < 17 then
begin
g_object_set_data(PGObject(Widget),'lcl-gtkentry-pasted-data',Widget);
g_idle_add(@GtkEntryDelayCursorPos, Widget);
exit;
end else
gtk_editable_set_position(PGtkEditable(Widget), GStart + 1);
end;
end;
end;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment