summaryrefslogtreecommitdiff
path: root/pango
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@gnome.org>2007-06-13 21:31:39 +0000
committerBehdad Esfahbod <behdad@src.gnome.org>2007-06-13 21:31:39 +0000
commit9028395881c1104b23029453d8380d8faf259279 (patch)
treea82619ec2f853c4ad839dc39eceb64e3fb87d548 /pango
parent20210e401f4e1a10e583b634ec7f1566284e9fac (diff)
downloadpango-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
Diffstat (limited to 'pango')
-rw-r--r--pango/fonts.c2
1 files changed, 1 insertions, 1 deletions
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);