summaryrefslogtreecommitdiff
path: root/pango/pangoft2.c
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@gnome.org>2007-09-07 23:05:20 +0000
committerBehdad Esfahbod <behdad@src.gnome.org>2007-09-07 23:05:20 +0000
commit4e9d86a3e715f6c0806a2019def34153b02dea1c (patch)
treead45e97439cce894c0827f5ef76d56d6210224db /pango/pangoft2.c
parent5c3fab4f67ff34382123ef7f11b0935b09188cc1 (diff)
downloadpango-4e9d86a3e715f6c0806a2019def34153b02dea1c.tar.gz
Patch from Chris Wilson
2007-09-07 Behdad Esfahbod <behdad@gnome.org> Patch from Chris Wilson * pango/pangoft2.c (load_fallback_face): Use g_error() instead of g_warning()+exit(). svn path=/trunk/; revision=2421
Diffstat (limited to 'pango/pangoft2.c')
-rw-r--r--pango/pangoft2.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/pango/pangoft2.c b/pango/pangoft2.c
index f23f1ed9..e8800344 100644
--- a/pango/pangoft2.c
+++ b/pango/pangoft2.c
@@ -118,8 +118,7 @@ load_fallback_face (PangoFT2Font *ft2font,
{
bail1:
name = pango_font_description_to_string (fcfont->description);
- g_warning ("Unable to open font file %s for font %s, exiting\n", filename2, name);
- exit (1);
+ g_error ("Unable to open font file %s for font %s, exiting\n", filename2, name);
}
else
{