mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-30 05:50:30 +02:00
Gtk3: possible fix for gtk asserts. issue #41456
This commit is contained in:
parent
657ec3b852
commit
ccd49bd9a3
@ -4143,7 +4143,7 @@ begin
|
||||
// TGtk3Window, so we must introduce new function for scrollables
|
||||
// to return GtkScrollingWindow, like we have with getViewport.
|
||||
ScrollWin := PGtkScrolledWindow(AControl.Widget);
|
||||
if not Assigned(ScrollWin) then Exit;
|
||||
if not Assigned(ScrollWin) or not Gtk3IsScrolledWindow(ScrollWin) then Exit;
|
||||
IsScrollWindow := True;
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user