Applied patch from Ales Katona for bug #9932 which fixed a gtk-critical error

git-svn-id: trunk@12446 -
This commit is contained in:
andrew 2007-10-13 20:27:41 +00:00
parent 2b0f66359e
commit 5c4568ffc8

View File

@ -1276,6 +1276,8 @@ begin
then Exit;
GetCommonTreeViewWidgets(PGtkWidget(ALV.Handle), Widgets);
if not GTK_WIDGET_REALIZED(Widgets^.MainView) then
gtk_widget_realize(Widgets^.MainView);
gtk_tree_view_scroll_to_point(PGtkTreeView(Widgets^.MainView), AValue.X, AValue.Y);
end;