Gtk3: use best of system visual to avoid assertions about row stride calculations.

git-svn-id: trunk@62922 -
This commit is contained in:
zeljko 2020-04-09 13:22:31 +00:00
parent 35e0a7ae4a
commit c92875cb38

View File

@ -477,7 +477,9 @@ begin
if ADrawable = nil then
begin
Visual := gdk_visual_get_system;
Visual := gdk_visual_get_system^.get_best;
if Visual = nil then
Visual := gdk_visual_get_system;
IsBitmap := False;
end else
begin