fixed gtk2 compilation.

git-svn-id: trunk@7907 -
This commit is contained in:
vincents 2005-10-04 13:30:58 +00:00
parent 7de4dd1e7e
commit 052c7ffeff

View File

@ -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