diff options
author | Behdad Esfahbod <behdad@gnome.org> | 2007-06-13 21:31:39 +0000 |
---|---|---|
committer | Behdad Esfahbod <behdad@src.gnome.org> | 2007-06-13 21:31:39 +0000 |
commit | 9028395881c1104b23029453d8380d8faf259279 (patch) | |
tree | a82619ec2f853c4ad839dc39eceb64e3fb87d548 | |
parent | 20210e401f4e1a10e583b634ec7f1566284e9fac (diff) | |
download | pango-9028395881c1104b23029453d8380d8faf259279.tar.gz |
Bug 447189 – fonts.c: pango_font_face_is_synthesized returns NULL
2007-06-13 Behdad Esfahbod <behdad@gnome.org>
Bug 447189 – fonts.c: pango_font_face_is_synthesized returns NULL
* pango/fonts.c (pango_font_face_is_synthesized): Fix
return value.
svn path=/trunk/; revision=2353
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | pango/fonts.c | 2 |
2 files changed, 8 insertions, 1 deletions
@@ -1,3 +1,10 @@ +2007-06-13 Behdad Esfahbod <behdad@gnome.org> + + Bug 447189 – fonts.c: pango_font_face_is_synthesized returns NULL + + * pango/fonts.c (pango_font_face_is_synthesized): Fix + return value. + 2007-06-12 Behdad Esfahbod <behdad@gnome.org> * pango/pango-attributes.c (pango_attr_font_desc_equal): diff --git a/pango/fonts.c b/pango/fonts.c index c426b7fc..b5968ef5 100644 --- a/pango/fonts.c +++ b/pango/fonts.c @@ -1787,7 +1787,7 @@ pango_font_face_describe (PangoFontFace *face) gboolean pango_font_face_is_synthesized (PangoFontFace *face) { - g_return_val_if_fail (PANGO_IS_FONT_FACE (face), NULL); + g_return_val_if_fail (PANGO_IS_FONT_FACE (face), FALSE); if (PANGO_FONT_FACE_GET_CLASS (face)->is_synthesized != NULL) return PANGO_FONT_FACE_GET_CLASS (face)->is_synthesized (face); |