[pango] [HB] Remove unused argument



commit c7460fc1b71a491a1b33c19ba0d4cd3b8353c7cb
Author: Behdad Esfahbod <behdad behdad org>
Date:   Tue Jan 26 12:58:01 2010 -0500

    [HB] Remove unused argument

 pango/opentype/hb-ot-layout.cc |    1 -
 pango/opentype/hb-ot-layout.h  |    1 -
 pango/pango-ot-info.c          |    3 +--
 3 files changed, 1 insertions(+), 4 deletions(-)
---
diff --git a/pango/opentype/hb-ot-layout.cc b/pango/opentype/hb-ot-layout.cc
index d1bb49d..8099fc5 100644
--- a/pango/opentype/hb-ot-layout.cc
+++ b/pango/opentype/hb-ot-layout.cc
@@ -281,7 +281,6 @@ hb_ot_layout_set_glyph_class (hb_face_t                 *face,
 
 void
 hb_ot_layout_build_glyph_classes (hb_face_t      *face,
-				  uint16_t        num_total_glyphs,
 				  hb_codepoint_t *glyphs,
 				  unsigned char  *klasses,
 				  uint16_t        count)
diff --git a/pango/opentype/hb-ot-layout.h b/pango/opentype/hb-ot-layout.h
index 54f785f..ee615ca 100644
--- a/pango/opentype/hb-ot-layout.h
+++ b/pango/opentype/hb-ot-layout.h
@@ -66,7 +66,6 @@ hb_ot_layout_set_glyph_class (hb_face_t                 *face,
 
 void
 hb_ot_layout_build_glyph_classes (hb_face_t      *face,
-				  uint16_t        num_total_glyphs,
 				  hb_codepoint_t *glyphs,
 				  unsigned char  *klasses,
 				  uint16_t        count);
diff --git a/pango/pango-ot-info.c b/pango/pango-ot-info.c
index 167f553..bd25fca 100644
--- a/pango/pango-ot-info.c
+++ b/pango/pango-ot-info.c
@@ -301,8 +301,7 @@ synthesize_class_def (PangoOTInfo *info)
 
   g_array_free (glyph_infos, TRUE);
 
-  hb_ot_layout_build_glyph_classes (info->hb_face, info->face->num_glyphs,
-				    glyph_indices, classes, j);
+  hb_ot_layout_build_glyph_classes (info->hb_face, glyph_indices, classes, j);
 
   g_free (glyph_indices);
   g_free (classes);



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