aboutsummaryrefslogtreecommitdiffhomepage
path: root/gtk
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2008-12-16 11:11:29 +0000
committernyamatongwe <devnull@localhost>2008-12-16 11:11:29 +0000
commit99eb09be54a94851377a8b086543da8d1730fb1b (patch)
tree57efc71d80bc020684ca94dce15b006207ecfd93 /gtk
parent7a51288e4e946ec95938208be9e1ab5833d5b50c (diff)
downloadscintilla-mirror-99eb09be54a94851377a8b086543da8d1730fb1b.tar.gz
Namespace work for OS X / XCode compatibility.
Diffstat (limited to 'gtk')
-rw-r--r--gtk/PlatGTK.cxx8
1 files changed, 7 insertions, 1 deletions
diff --git a/gtk/PlatGTK.cxx b/gtk/PlatGTK.cxx
index 486ce896c..03bb57d26 100644
--- a/gtk/PlatGTK.cxx
+++ b/gtk/PlatGTK.cxx
@@ -677,7 +677,13 @@ void Font::Release() {
id = 0;
}
-class SurfaceImpl : public Surface {
+// Required on OS X
+#ifdef SCI_NAMESPACE
+class Scintilla::SurfaceImpl : public Surface
+#else
+class SurfaceImpl : public Surface
+#endif
+{
encodingType et;
GdkDrawable *drawable;
GdkGC *gc;