diff options
author | Behdad Esfahbod <behdad@behdad.org> | 2009-04-08 15:47:00 -0400 |
---|---|---|
committer | Behdad Esfahbod <behdad@behdad.org> | 2009-04-08 15:47:00 -0400 |
commit | c5921ca904f3ab25f975e4c719c7334a31d84434 (patch) | |
tree | 69a96eb9196bf17fb893c4fe3ba237e407a7ee54 /pango/pangowin32-fontmap.c | |
parent | 7a654f4999cdedf71d2c39cfa6ccf6fe2a7a8477 (diff) | |
download | pango-c5921ca904f3ab25f975e4c719c7334a31d84434.tar.gz |
[pangofc] Be more tolerant on the "fontmap" property setting
Bug 578336 – ABI breakage from 1.22 to 1.24 in fontmap field of PangoFcFont
Commit 9305b9a9995e84ace3818a90346820ef8c47a3ce introduced a "fontmap"
property in PangoFcFont and expected all subclasses to set it upon
construction. And PangoFcFontSet was changed to not set fcfont->fontmap
anymore.
Relax this change to make it backward compatible by:
1) Making "fontmap" property a not-construct-only property
2) In PangoFcFontSet, set "fontmap" if not already set
This should make it backward compatible, while allowing new code to set the
property instead of relying on PangoFcFontSet to do it.
Diffstat (limited to 'pango/pangowin32-fontmap.c')
0 files changed, 0 insertions, 0 deletions