diff options
author | nyamatongwe <unknown> | 2011-09-06 15:49:25 +1000 |
---|---|---|
committer | nyamatongwe <unknown> | 2011-09-06 15:49:25 +1000 |
commit | 7b37ceb5f14dbc8bf17c03c7b6e202bf023cfac7 (patch) | |
tree | 7c1ad6402247434dc4bbbdb7b7f5154ba70fd1ea | |
parent | 88bd2188c961dd57cc515b285fd7f4812888f5cf (diff) | |
download | scintilla-mirror-7b37ceb5f14dbc8bf17c03c7b6e202bf023cfac7.tar.gz |
Always use Cairo for drawing.
-rw-r--r-- | gtk/PlatGTK.cxx | 4 | ||||
-rw-r--r-- | gtk/ScintillaGTK.cxx | 2 |
2 files changed, 1 insertions, 5 deletions
diff --git a/gtk/PlatGTK.cxx b/gtk/PlatGTK.cxx index 39dba1d71..8fe55145a 100644 --- a/gtk/PlatGTK.cxx +++ b/gtk/PlatGTK.cxx @@ -43,9 +43,7 @@ #define IS_WIDGET_FOCUSSED(w) (GTK_WIDGET_HAS_FOCUS(w)) #endif -#if GTK_CHECK_VERSION(2,22,0) #define USE_CAIRO 1 -#endif #ifdef USE_CAIRO @@ -2961,7 +2959,7 @@ bool Platform::IsDBCSLeadByte(int codePage, char ch) { // Shift_jis return ((uch >= 0x81) && (uch <= 0x9F)) || ((uch >= 0xE0) && (uch <= 0xFC)); - // Lead bytes F0 to FC may be a Microsoft addition. + // Lead bytes F0 to FC may be a Microsoft addition. case 936: // GBK return (uch >= 0x81) && (uch <= 0xFE); diff --git a/gtk/ScintillaGTK.cxx b/gtk/ScintillaGTK.cxx index b7cea5ed3..0932c6e3b 100644 --- a/gtk/ScintillaGTK.cxx +++ b/gtk/ScintillaGTK.cxx @@ -74,9 +74,7 @@ #define IS_WIDGET_VISIBLE(w) (GTK_WIDGET_VISIBLE(w)) #endif -#if GTK_CHECK_VERSION(2,22,0) #define USE_CAIRO 1 -#endif static GdkWindow *WindowFromWidget(GtkWidget *w) { #if GTK_CHECK_VERSION(3,0,0) |