diff options
author | nyamatongwe <devnull@localhost> | 2009-08-26 11:18:53 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2009-08-26 11:18:53 +0000 |
commit | e263c718336ce285b4338875f811a804ff0217ab (patch) | |
tree | fc8fd818dce31b42eb8e0fd7c7ba32f9c5fbbf27 | |
parent | dd8bae921b13290c2f2bbed80a55f21eb6098d11 (diff) | |
download | scintilla-mirror-e263c718336ce285b4338875f811a804ff0217ab.tar.gz |
New Pango code placed in #ifdef so not compiled on GTK+ 1.x.
-rw-r--r-- | gtk/PlatGTK.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk/PlatGTK.cxx b/gtk/PlatGTK.cxx index eb11b504b..c094763fc 100644 --- a/gtk/PlatGTK.cxx +++ b/gtk/PlatGTK.cxx @@ -1371,6 +1371,8 @@ void SurfaceImpl::DrawTextTransparent(PRectangle rc, Font &font_, int ybase, con } } +#ifdef USE_PANGO + class ClusterIterator { PangoLayoutIter *iter; PangoRectangle pos; @@ -1405,6 +1407,8 @@ public: } }; +#endif + void SurfaceImpl::MeasureWidths(Font &font_, const char *s, int len, int *positions) { if (font_.GetID()) { int totalWidth = 0; |