From cc1661bac933a078913ad0bb6ff9d727b585afb0 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Mon, 7 Jan 2013 20:26:53 -0500 Subject: [PATCH] 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 file 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; -- 2.7.4