1
0
mirror of https://github.com/salvadordf/CEF4Delphi.git synced 2025-06-22 22:17:48 +02:00

Added GlobalCEFApp.GTKVersion in Linux

Set GlobalCEFApp.GTKVersion to gtkVersion3 in TinyBrowser and TinyBrowser2 for Lazarus and GTK3 in order to avoid an initial error because the app and Chromium are trying to load diferent versions of GTK.
This commit is contained in:
Salvador Díaz Fau
2025-04-25 16:51:53 +02:00
parent 232e06c8c7
commit 3904180367
5 changed files with 38 additions and 1 deletions

View File

@ -239,6 +239,7 @@ begin
GlobalCEFApp.SetCurrentDir := True;
GlobalCEFApp.OnContextInitialized := GlobalCEFApp_OnContextInitialized;
GlobalCEFApp.OnGetDefaultClient := GlobalCEFApp_OnGetDefaultClient;
GlobalCEFApp.GTKVersion := gtkVersion3;
end;
procedure DestroyTinyBrowser;