LCL-GTK2: A workaround to prevent a complete freeze with menu seperators. Issue #31138.

git-svn-id: trunk@54765 -
This commit is contained in:
juha 2017-04-28 10:41:37 +00:00
parent 73b1b38cde
commit fb21bde862

View File

@ -1254,12 +1254,16 @@ begin
Level := 'CRITICAL';
Ex := EInterfaceCritical;
end
{ Commented out for issue #31138. The whole system freezed because of GTK2 exception:
"Invalid borders specified for theme pixmap: .../line-h.png. Borders don't fit within the image."
ToDo: Fix the issue properly.
else
if ALogLevel and G_LOG_LEVEL_WARNING <> 0
then begin
Level := 'WARNING';
Ex := EInterfaceWarning;
end
}
else
if ALogLevel and G_LOG_LEVEL_INFO <> 0
then begin