GNOME Bugzilla – Bug 447189
fonts.c: pango_font_face_is_synthesized returns NULL
Last modified: 2007-06-13 21:31:31 UTC
Please describe the problem: pango_font_face_is_synthesized returns gboolean value (TRUE or FALSE). But it returns NULL pointer if 'face' is not 'PangoFontFace'. Steps to reproduce: 1.compile pango/fonts.c Actual results: An error will occur at pango_font_face_is_synthesized. Expected results: pango_font_face_is_synthesized should be return FALSE if 'face' is not 'PangoFontFace'. For example, g_return_val_if_fail (PANGO_IS_FONT_FACE (face), FALSE); Does this happen every time? Revision 2342 or later Other information:
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.