diff options
author | Neil <nyamatongwe@gmail.com> | 2022-02-02 14:01:29 +1100 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2022-02-02 14:01:29 +1100 |
commit | 53ca05457a1d7306defd98ee4a21eb18e6a9be8d (patch) | |
tree | 9f5d39af5c1604d8a84ef9f4c40e5af7a0215f64 /gtk | |
parent | b7345886dca4996d630a267f56fe2d7ce01fc88a (diff) | |
download | scintilla-mirror-53ca05457a1d7306defd98ee4a21eb18e6a9be8d.tar.gz |
Add Supports::ThreadSafeMeasureWidths for platforms to indicate if they support
concurrent calls to MeasureWidths.
Diffstat (limited to 'gtk')
-rwxr-xr-x | gtk/PlatGTK.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk/PlatGTK.cxx b/gtk/PlatGTK.cxx index 53ee57300..859589bec 100755 --- a/gtk/PlatGTK.cxx +++ b/gtk/PlatGTK.cxx @@ -215,6 +215,10 @@ const Supports SupportsGTK[] = { Supports::FractionalStrokeWidth, Supports::TranslucentStroke, Supports::PixelModification, +#if !defined(PLAT_GTK_WIN32) && !defined(PLAT_GTK_MACOSX) + // Pango is not thread-safe on Win32 or macOS + Supports::ThreadSafeMeasureWidths, +#endif }; } |