summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2021-01-20 02:39:42 +0000
committerMatthias Clasen <mclasen@redhat.com>2021-01-20 02:39:42 +0000
commit0fe5b634963ca320485549f095683be3b3750168 (patch)
tree2187aa3db3de8b236fbc2c5e8a51276b7b4ade85
parent6cb7f3338594bc6065a5b7d9060d67aab4c20220 (diff)
parent0512bbcf4aab1ff62aa9d8f41ec2ca88ef4cfe2a (diff)
downloadpango-0fe5b634963ca320485549f095683be3b3750168.tar.gz
Merge branch 'return-null' into 'master'
use g_critical instead of g_error Closes #527 See merge request GNOME/pango!275
-rw-r--r--pango/pangocairo-fontmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pango/pangocairo-fontmap.c b/pango/pangocairo-fontmap.c
index 47c2245f..120ccb89 100644
--- a/pango/pangocairo-fontmap.c
+++ b/pango/pangocairo-fontmap.c
@@ -101,7 +101,7 @@ pango_cairo_font_map_new (void)
" fontconfig"
#endif
;
- g_error ("Unknown $PANGOCAIRO_BACKEND value.\n Available backends are:%s", backends);
+ g_critical ("Unknown $PANGOCAIRO_BACKEND value.\n Available backends are:%s", backends);
}
return NULL;
}