diff options
author | Matthias Clasen <mclasen@redhat.com> | 2022-06-11 12:43:25 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2022-06-22 13:54:01 -0400 |
commit | a2e3fc9337499b040bf330cfb5781920e618dc1e (patch) | |
tree | a53d53459374ced4a5ac8f3bebd1a3ed205f854b /utils | |
parent | fc6028daaa214f04ad74bbcd046c98434a9bae64 (diff) | |
download | pango-a2e3fc9337499b040bf330cfb5781920e618dc1e.tar.gz |
Clean up PangoFontFace hierarchy
Move common fields to PangoFontFace, add private
setters, and add properties.
Diffstat (limited to 'utils')
-rw-r--r-- | utils/pango-list.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/pango-list.c b/utils/pango-list.c index 2f0fbc02..e32cdfc5 100644 --- a/utils/pango-list.c +++ b/utils/pango-list.c @@ -162,7 +162,7 @@ main (int argc, for (j = 0; j < g_list_model_get_n_items (G_LIST_MODEL (family)); j++) { PangoFontFace *face = g_list_model_get_item (G_LIST_MODEL (family), j); - const char *face_name = pango_font_face_get_face_name (face); + const char *face_name = pango_font_face_get_name (face); gboolean is_synth = pango_font_face_is_synthesized (face); const char *synth_str = is_synth ? "*" : ""; const char *variable_str = ""; @@ -173,7 +173,7 @@ main (int argc, for (j = 0; j < g_list_model_get_n_items (G_LIST_MODEL (family)); j++) { PangoFontFace *face = g_list_model_get_item (G_LIST_MODEL (family), j); - const char *face_name = pango_font_face_get_face_name (face); + const char *face_name = pango_font_face_get_name (face); gboolean is_synth = pango_font_face_is_synthesized (face); const char *synth_str = is_synth ? "*" : ""; gboolean is_variable = pango_font_face_is_variable (face); |