[pango] Fix a compiler warning



commit cc1661bac933a078913ad0bb6ff9d727b585afb0
Author: Matthias Clasen <mclasen redhat com>
Date:   Mon Jan 7 20:26:53 2013 -0500

    Fix a compiler warning
    
    Add the new paragraph_text/length parameters to the script_shape
    implementation in the fallback engine.

 pango/pango-engine.c |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/pango/pango-engine.c b/pango/pango-engine.c
index 8a3369f..994c722 100644
--- a/pango/pango-engine.c
+++ b/pango/pango-engine.c
@@ -126,9 +126,11 @@ static void
 fallback_engine_shape (PangoEngineShape *engine G_GNUC_UNUSED,
 		       PangoFont        *font G_GNUC_UNUSED,
 		       const char       *text,
-		       gint              length,
+		       unsigned int      length,
 		       const PangoAnalysis *analysis,
-		       PangoGlyphString *glyphs)
+		       PangoGlyphString *glyphs,
+                       const char       *paragraph_text G_GNUC_UNUSED,
+                       unsigned int      paragraph_length G_GNUC_UNUSED)
 {
   int n_chars;
   const char *p;



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