Gtk2: removed patch for #12362 since it crashes shaped controls under gtk2.

git-svn-id: trunk@35482 -
This commit is contained in:
zeljko 2012-02-19 14:05:30 +00:00
parent ad789778bc
commit 9fcf0cceae

View File

@ -582,9 +582,12 @@ begin
ADesc.Init;
// if there's mask gtk2 assumes it's rgba. issue #12362
// Zeljko: removed since it totally crashes shaped controls -
// see examples/shapedcontrols.
{
if (riqfMono in AFlags) and (riqfMask in AFlags) and
(Desc.BitsPerPixel = 32) then
AFlags := AFlags - [riqfMono] + [riqfRgb];
AFlags := AFlags - [riqfMono] + [riqfRgb];}
if riqfMono in AFlags then
begin