[pango] coretext: silence compiler



commit fafd326d3084377bd7436b619dc25e9fdf09fdc0
Author: Kristian Rietveld <kris lanedo com>
Date:   Mon Aug 27 09:40:38 2012 +0200

    coretext: silence compiler

 modules/basic/basic-coretext.c |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/modules/basic/basic-coretext.c b/modules/basic/basic-coretext.c
index 5d0eb07..33ce479 100644
--- a/modules/basic/basic-coretext.c
+++ b/modules/basic/basic-coretext.c
@@ -139,6 +139,12 @@ run_iterator_get_glyph_count (struct RunIterator *iter)
   return accumulator;
 }
 
+/* These functions are commented out to silence the compiler, but
+ * kept around because they might be of use when fixing the more
+ * intricate issues noted in the comment in the function
+ * basic_engine_shape() below.
+ */
+#if 0
 static gboolean
 run_iterator_is_rtl (struct RunIterator *iter)
 {
@@ -155,6 +161,7 @@ run_iterator_run_is_non_monotonic (struct RunIterator *iter)
 
   return run_status & kCTRunStatusNonMonotonic;
 }
+#endif
 
 static gunichar
 run_iterator_get_character (struct RunIterator *iter)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]