diff options
author | Owen Taylor <otaylor@redhat.com> | 2004-02-05 20:32:01 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2004-02-05 20:32:01 +0000 |
commit | 3517707a6c8b8e31c57ce45722a9ff6a937702f0 (patch) | |
tree | 78c9824c6aa2ea45bf3c16205410ab14e702c6bf /pango/pango-layout.c | |
parent | eb8ac845dcf43afdf52be7db2541a5baf46b1bb5 (diff) | |
download | pango-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.c | 1 |
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); |