diff options
author | Behdad Esfahbod <behdad@gnome.org> | 2007-01-16 18:09:35 +0000 |
---|---|---|
committer | Behdad Esfahbod <behdad@src.gnome.org> | 2007-01-16 18:09:35 +0000 |
commit | b012a12e567a3d2b7c903b4c5ec1d03e4a365fd4 (patch) | |
tree | 564bc5fd05e3f9a1d8cc5b08f1e1f6a52bab1b05 /pango | |
parent | 9028047d34e7c856947556d9b0cef900aae731c2 (diff) | |
download | pango-b012a12e567a3d2b7c903b4c5ec1d03e4a365fd4.tar.gz |
Bug 397327 – pango-layout.c: 'pango_layout_is_ellipsized' must return a
2007-01-16 Behdad Esfahbod <behdad@gnome.org>
Bug 397327 – pango-layout.c: 'pango_layout_is_ellipsized' must return
a value
* pango/pango-layout.c (pango_layout_is_ellipsized): Use
g_return_val_if_fail() instead of g_return_if_fail().
svn path=/trunk/; revision=2159
Diffstat (limited to 'pango')
-rw-r--r-- | pango/pango-layout.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pango/pango-layout.c b/pango/pango-layout.c index e708d555..9ece852c 100644 --- a/pango/pango-layout.c +++ b/pango/pango-layout.c @@ -864,7 +864,7 @@ pango_layout_get_ellipsize (PangoLayout *layout) gboolean pango_layout_is_ellipsized (PangoLayout *layout) { - g_return_if_fail (layout != NULL); + g_return_val_if_fail (layout != NULL, FALSE); pango_layout_check_lines (layout); |