summaryrefslogtreecommitdiff
path: root/pango/pangocoretext.c
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 /pango/pangocoretext.c
parenta92bd036e33c8ace7a980fbf0698b23396345bd8 (diff)
downloadpango-6f0139c6e2a9ddf928cc9e1c4676919babf9e894.tar.gz
coretext: Cleanup
Remove the unused face setter and field.
Diffstat (limited to 'pango/pangocoretext.c')
-rw-r--r--pango/pangocoretext.c10
1 files changed, 0 insertions, 10 deletions
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)
{