summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2021-01-04 00:48:38 -0500
committerMatthias Clasen <mclasen@redhat.com>2021-01-04 00:49:23 -0500
commit6f0139c6e2a9ddf928cc9e1c4676919babf9e894 (patch)
treeb05d2d592e39069db49e5b04d7e346a6a3c49f3b
parenta92bd036e33c8ace7a980fbf0698b23396345bd8 (diff)
downloadpango-6f0139c6e2a9ddf928cc9e1c4676919babf9e894.tar.gz
coretext: Cleanup
Remove the unused face setter and field.
-rw-r--r--pango/pangocoretext-private.h2
-rw-r--r--pango/pangocoretext.c10
2 files changed, 0 insertions, 12 deletions
diff --git a/pango/pangocoretext-private.h b/pango/pangocoretext-private.h
index d95ec642..fffb8a65 100644
--- a/pango/pangocoretext-private.h
+++ b/pango/pangocoretext-private.h
@@ -122,8 +122,6 @@ GType pango_core_text_font_map_get_type (void) G_GNUC_C
void _pango_core_text_font_set_font_map (PangoCoreTextFont *afont,
PangoCoreTextFontMap *fontmap);
-void _pango_core_text_font_set_face (PangoCoreTextFont *afont,
- PangoCoreTextFace *aface);
PangoCoreTextFace * _pango_core_text_font_get_face (PangoCoreTextFont *font);
gpointer _pango_core_text_font_get_context_key (PangoCoreTextFont *afont);
void _pango_core_text_font_set_context_key (PangoCoreTextFont *afont,
diff --git a/pango/pangocoretext.c b/pango/pangocoretext.c
index e14ab16c..b6941c05 100644
--- a/pango/pangocoretext.c
+++ b/pango/pangocoretext.c
@@ -36,7 +36,6 @@
struct _PangoCoreTextFontPrivate
{
- PangoCoreTextFace *face;
gpointer context_key;
CTFontRef font_ref;
@@ -224,15 +223,6 @@ _pango_core_text_font_set_font_map (PangoCoreTextFont *font,
g_weak_ref_set((GWeakRef *) &priv->fontmap, fontmap);
}
-void
-_pango_core_text_font_set_face (PangoCoreTextFont *ctfont,
- PangoCoreTextFace *ctface)
-{
- PangoCoreTextFontPrivate *priv = ctfont->priv;
-
- priv->face = ctface;
-}
-
PangoCoreTextFace *
_pango_core_text_font_get_face (PangoCoreTextFont *font)
{