aboutsummaryrefslogtreecommitdiffhomepage
path: root/gtk
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2022-02-10 13:57:56 +1100
committerNeil <nyamatongwe@gmail.com>2022-02-10 13:57:56 +1100
commit9b8ca41b15ca4f53c0f1ccd69e6135694321d854 (patch)
treef524caae34d6552e6fe3d604cafd1c37f6dd459f /gtk
parent98bdc254f4f654b9e9191d4684d4c8fe7c953cfe (diff)
downloadscintilla-mirror-9b8ca41b15ca4f53c0f1ccd69e6135694321d854.tar.gz
Replace "OS X' with "macOS".
Diffstat (limited to 'gtk')
-rwxr-xr-xgtk/PlatGTK.cxx1
-rwxr-xr-xgtk/ScintillaGTK.cxx2
2 files changed, 1 insertions, 2 deletions
diff --git a/gtk/PlatGTK.cxx b/gtk/PlatGTK.cxx
index 859589bec..d79539ffa 100755
--- a/gtk/PlatGTK.cxx
+++ b/gtk/PlatGTK.cxx
@@ -117,7 +117,6 @@ std::shared_ptr<Font> Font::Allocate(const FontParameters &fp) {
return std::make_shared<FontHandle>(fp);
}
-// Required on OS X
namespace Scintilla {
// SurfaceID is a cairo_t*
diff --git a/gtk/ScintillaGTK.cxx b/gtk/ScintillaGTK.cxx
index 77a18e442..bc6402e30 100755
--- a/gtk/ScintillaGTK.cxx
+++ b/gtk/ScintillaGTK.cxx
@@ -1965,7 +1965,7 @@ gint ScintillaGTK::ScrollEvent(GtkWidget *widget, GdkEventScroll *event) {
// Compute amount and direction to scroll (even tho on win32 there is
// intensity of scrolling info in the native message, gtk doesn't
// support this so we simulate similarly adaptive scrolling)
- // Note that this is disabled on OS X (Darwin) with the X11 backend
+ // Note that this is disabled on macOS (Darwin) with the X11 backend
// where the X11 server already has an adaptive scrolling algorithm
// that fights with this one
int cLineScroll;