summaryrefslogtreecommitdiff
path: root/pango/pango-layout.c
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2004-02-05 20:32:01 +0000
committerOwen Taylor <otaylor@src.gnome.org>2004-02-05 20:32:01 +0000
commit3517707a6c8b8e31c57ce45722a9ff6a937702f0 (patch)
tree78c9824c6aa2ea45bf3c16205410ab14e702c6bf /pango/pango-layout.c
parenteb8ac845dcf43afdf52be7db2541a5baf46b1bb5 (diff)
downloadpango-3517707a6c8b8e31c57ce45722a9ff6a937702f0.tar.gz
Accept NULL for desc as documented. (#133001, Torsten Schoenfeld)
Thu Feb 5 15:28:44 2004 Owen Taylor <otaylor@redhat.com> * pango/pango-layout.c (pango_layout_set_font_description): Accept NULL for desc as documented. (#133001, Torsten Schoenfeld)
Diffstat (limited to 'pango/pango-layout.c')
-rw-r--r--pango/pango-layout.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/pango/pango-layout.c b/pango/pango-layout.c
index 3d67dbb9..1b610e65 100644
--- a/pango/pango-layout.c
+++ b/pango/pango-layout.c
@@ -540,7 +540,6 @@ pango_layout_set_font_description (PangoLayout *layout,
const PangoFontDescription *desc)
{
g_return_if_fail (layout != NULL);
- g_return_if_fail (desc != NULL);
if (layout->font_desc)
pango_font_description_free (layout->font_desc);