mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-18 09:09:29 +02:00
Gtk3: fixed mem leak in TGtk3WidgetSet.RectVisible(). Patch by Anton Kavalenka. issue #41369
This commit is contained in:
parent
ec59292d9e
commit
fc756a2d08
@ -3391,6 +3391,7 @@ begin
|
||||
ACairoRect.width := ARect.Right - ARect.Left;
|
||||
ACairoRect.height := ARect.Bottom - ARect.Top;
|
||||
Result := cairo_region_contains_rectangle(ACairoRegion, @ACairoRect) <> CAIRO_REGION_OVERLAP_OUT;
|
||||
cairo_region_destroy(ACairoRegion);
|
||||
end;
|
||||
|
||||
function TGtk3WidgetSet.RegroupMenuItem(hndMenu: HMENU; GroupIndex: integer
|
||||
|
Loading…
Reference in New Issue
Block a user