diff options
| -rw-r--r-- | gtk/PlatGTK.cxx | 9 | 
1 files changed, 5 insertions, 4 deletions
diff --git a/gtk/PlatGTK.cxx b/gtk/PlatGTK.cxx index b90b8c46e..9e84815e2 100644 --- a/gtk/PlatGTK.cxx +++ b/gtk/PlatGTK.cxx @@ -667,11 +667,9 @@ void Font::Release() {  // Required on OS X  #ifdef SCI_NAMESPACE -class Scintilla::SurfaceImpl : public Surface -#else -class SurfaceImpl : public Surface +namespace Scintilla {  #endif -{ +class SurfaceImpl : public Surface {  	encodingType et;  	GdkDrawable *drawable;  	GdkGC *gc; @@ -731,6 +729,9 @@ public:  	void SetUnicodeMode(bool unicodeMode_);  	void SetDBCSMode(int codePage);  }; +#ifdef SCI_NAMESPACE +} +#endif  const char *CharacterSetID(int characterSet) {  	switch (characterSet) {  | 
