mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-18 09:29:35 +02:00
Gtk3: use best of system visual to avoid assertions about row stride calculations.
git-svn-id: trunk@62922 -
This commit is contained in:
parent
35e0a7ae4a
commit
c92875cb38
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user