summaryrefslogtreecommitdiff
path: root/pango/pangofc-fontmap.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2022-06-10 17:58:22 +0000
committerMatthias Clasen <mclasen@redhat.com>2022-06-10 17:58:22 +0000
commit6b14c28a00c8799b9cade31d5749a9b455c15484 (patch)
treeff5ce45cfc0f17280346694a6b4773e521fe881f /pango/pangofc-fontmap.c
parent0e5f9ff5fede7cb51463d65ac158516da188f9b2 (diff)
parent0a576fc822a33032617fbc5dfbb4e128267d9fea (diff)
downloadpango-6b14c28a00c8799b9cade31d5749a9b455c15484.tar.gz
Merge branch 'fix-ci-again2' into 'main'
Add listmodel properties to PangoFontFamily See merge request GNOME/pango!620
Diffstat (limited to 'pango/pangofc-fontmap.c')
-rw-r--r--pango/pangofc-fontmap.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/pango/pangofc-fontmap.c b/pango/pangofc-fontmap.c
index 4c39ea1f..e21032f3 100644
--- a/pango/pangofc-fontmap.c
+++ b/pango/pangofc-fontmap.c
@@ -2292,6 +2292,8 @@ pango_fc_font_map_cache_clear (PangoFcFontMap *fcfontmap)
added = fcfontmap->priv->n_families;
g_list_model_items_changed (G_LIST_MODEL (fcfontmap), 0, removed, added);
+ if (removed != added)
+ g_object_notify (G_OBJECT (fcfontmap), "n-items");
pango_font_map_changed (PANGO_FONT_MAP (fcfontmap));
}