summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pango/pango-engine.h1
-rw-r--r--pango/pangocoretext.c4
2 files changed, 2 insertions, 3 deletions
diff --git a/pango/pango-engine.h b/pango/pango-engine.h
index d8d262a7..a06a6e2c 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 be1d42ee..0f5c1478 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;