Skip to content

use g_critical instead of g_error

Naveen M K requested to merge naveen521kk/pango:return-null into master

According to docs of pango_cairo_font_map_new() it shouldn't crash the application by calling g_error, when the PANGOCAIRO_BACKEND, env the variable is invalid. Instead, it should return NULL and it can log that using g_critical. Fixes #527 (closed)

Merge request reports