mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-29 15:30:38 +02:00
fixed gtk2 compilation.
git-svn-id: trunk@7907 -
This commit is contained in:
parent
7de4dd1e7e
commit
052c7ffeff
@ -8241,7 +8241,7 @@ begin
|
||||
then begin
|
||||
if (ScrollInfo.fMask and SIF_RANGE) <> 0
|
||||
then gtk_layout_set_size(Layout, ScrollInfo.nMax - ScrollInfo.nMin, Layout^.height);
|
||||
Result := Layout^.xoffset;
|
||||
Result := round(Layout^.hadjustment^.value);
|
||||
end;
|
||||
end
|
||||
// obsolete stuff
|
||||
@ -8267,7 +8267,7 @@ begin
|
||||
then begin
|
||||
if (ScrollInfo.fMask and SIF_RANGE) <> 0
|
||||
then gtk_layout_set_size(Layout, Layout^.Width, ScrollInfo.nMax - ScrollInfo.nMin);
|
||||
Result := Layout^.yoffset;
|
||||
Result := round(Layout^.vadjustment^.value);
|
||||
end;
|
||||
end
|
||||
// obsolete stuff
|
||||
|
Loading…
Reference in New Issue
Block a user