summaryrefslogtreecommitdiff
path: root/pango
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2013-01-07 20:26:53 -0500
committerMatthias Clasen <mclasen@redhat.com>2013-01-07 21:06:59 -0500
commitcc1661bac933a078913ad0bb6ff9d727b585afb0 (patch)
tree1bb8118ed07b77a526bd5edec428b28dc796d4fb /pango
parent922c0d4ea0516419422b1d77b5b25176cc72f691 (diff)
downloadpango-cc1661bac933a078913ad0bb6ff9d727b585afb0.tar.gz
Fix a compiler warning
Add the new paragraph_text/length parameters to the script_shape implementation in the fallback engine.
Diffstat (limited to 'pango')
-rw-r--r--pango/pango-engine.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/pango/pango-engine.c b/pango/pango-engine.c
index 8a3369f3..994c722b 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;