[pango/matthiasc/for-master: 10/10] coretext: Cleanup
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pango/matthiasc/for-master: 10/10] coretext: Cleanup
- Date: Mon, 4 Jan 2021 05:49:31 +0000 (UTC)
commit 6f0139c6e2a9ddf928cc9e1c4676919babf9e894
Author: Matthias Clasen <mclasen redhat com>
Date: Mon Jan 4 00:48:38 2021 -0500
coretext: Cleanup
Remove the unused face setter and field.
pango/pangocoretext-private.h | 2 --
pango/pangocoretext.c | 10 ----------
2 files changed, 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)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]