aboutsummaryrefslogtreecommitdiffhomepage
path: root/gtk/PlatGTK.cxx
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2017-09-11 09:05:35 +1000
committerNeil <nyamatongwe@gmail.com>2017-09-11 09:05:35 +1000
commit313a81f7f8419b3c1ac6ac57ea7719c7b8aa28cf (patch)
tree2ec6649c5e74a1d7127d150f485432def1814a1a /gtk/PlatGTK.cxx
parent7b287ecd7f8527bb8f47e08090a0120ff418c730 (diff)
downloadscintilla-mirror-313a81f7f8419b3c1ac6ac57ea7719c7b8aa28cf.tar.gz
The Scintilla namespace is always active for internal symbols and for the lexer
interfaces ILexer4 and IDocument.
Diffstat (limited to 'gtk/PlatGTK.cxx')
-rw-r--r--gtk/PlatGTK.cxx6
1 files changed, 0 insertions, 6 deletions
diff --git a/gtk/PlatGTK.cxx b/gtk/PlatGTK.cxx
index 06926f347..ebedc6e93 100644
--- a/gtk/PlatGTK.cxx
+++ b/gtk/PlatGTK.cxx
@@ -57,9 +57,7 @@ static GdkWindow *WindowFromWidget(GtkWidget *w) {
#pragma warning(disable: 4505)
#endif
-#ifdef SCI_NAMESPACE
using namespace Scintilla;
-#endif
enum encodingType { singleByte, UTF8, dbcs};
@@ -123,9 +121,7 @@ void Font::Release() {
}
// Required on OS X
-#ifdef SCI_NAMESPACE
namespace Scintilla {
-#endif
// SurfaceID is a cairo_t*
class SurfaceImpl : public Surface {
@@ -187,9 +183,7 @@ public:
void SetUnicodeMode(bool unicodeMode_) override;
void SetDBCSMode(int codePage) override;
};
-#ifdef SCI_NAMESPACE
}
-#endif
const char *CharacterSetID(int characterSet) {
switch (characterSet) {