diff options
author | Manish Singh <yosh@gimp.org> | 2004-10-02 17:09:41 +0000 |
---|---|---|
committer | Manish Singh <yosh@src.gnome.org> | 2004-10-02 17:09:41 +0000 |
commit | 0d98f8f9a766b13ed91c365a629e73b2bf473e30 (patch) | |
tree | dee04cac3267d1122de016dd9665e9abbbf426e3 /modules | |
parent | c74be13fe29b15bffa8b57675076874605834998 (diff) | |
download | pango-0d98f8f9a766b13ed91c365a629e73b2bf473e30.tar.gz |
Use g_return_val_if_fail() instead of g_return_if_fail() since this
Sat Oct 2 10:08:13 2004 Manish Singh <yosh@gimp.org>
* modules/thai/thai-ot.c (thai_ot_get_ruleset): Use
g_return_val_if_fail() instead of g_return_if_fail() since this
function returns a value.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/thai/thai-ot.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/thai/thai-ot.c b/modules/thai/thai-ot.c index e02a50cf..e335901a 100644 --- a/modules/thai/thai-ot.c +++ b/modules/thai/thai-ot.c @@ -52,7 +52,7 @@ thai_ot_get_ruleset (PangoFont *font) PangoOTInfo *info; PangoOTRuleset *ruleset = NULL; - g_return_if_fail (font != NULL); + g_return_val_if_fail (font != NULL, NULL); fc_font = PANGO_FC_FONT (font); face = pango_fc_font_lock_face (fc_font); |