[pango: 30/31] Minor



commit f734d7c937e518f93da544ef0fceec453bfce5d2
Author: Behdad Esfahbod <behdad behdad org>
Date:   Sun Apr 5 12:53:20 2015 -0700

    Minor

 pango/pango-engine.h  |    1 -
 pango/pangocoretext.c |    4 ++--
 2 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/pango/pango-engine.h b/pango/pango-engine.h
index d8d262a..a06a6e2 100644
--- a/pango/pango-engine.h
+++ b/pango/pango-engine.h
@@ -226,7 +226,6 @@ struct _PangoEngineShapeClass
                        PangoGlyphString    *glyphs,
                        const char          *paragraph_text,
                        unsigned int         paragraph_length);
-  G_DEPRECATED
   PangoCoverageLevel (*covers)   (PangoEngineShape *engine,
                                  PangoFont        *font,
                                  PangoLanguage    *language,
diff --git a/pango/pangocoretext.c b/pango/pangocoretext.c
index be1d42e..0f5c147 100644
--- a/pango/pangocoretext.c
+++ b/pango/pangocoretext.c
@@ -120,7 +120,7 @@ ct_font_descriptor_get_coverage (CTFontDescriptorRef desc)
 
 static PangoCoverage *
 pango_core_text_font_get_coverage (PangoFont     *font,
-                                   PangoLanguage *language)
+                                   PangoLanguage *language G_GNUC_UNUSED)
 {
   PangoCoreTextFont *ctfont = (PangoCoreTextFont *)font;
   PangoCoreTextFontPrivate *priv = ctfont->priv;
@@ -168,7 +168,7 @@ pango_core_text_shape_engine_init (PangoEngineShape *object)
 
 static PangoEngineShape *
 pango_core_text_font_find_shaper (PangoFont     *font,
-                                  PangoLanguage *language,
+                                  PangoLanguage *language G_GNUC_UNUSED,
                                   guint32        ch)
 {
   static PangoEngineShape *shaper;


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