The build system does not check for `g_type_term` so this code is always
disabled. More importantly though, I cannot locate any reference to a
`g_type_term` function that has ever existed anywhere except the Graphviz code
base. That is, it appears this has never been a librsvg or Glib function. The
commit message of its introduction in
9f4cb1fcb745b9b71c937980ef6b0d08552ead0f
also offers no enlightenment, only suggesting this was somehow related to Fedora
20.
if (rsvgh == NULL) {
fprintf(stderr, "rsvg_handle_new_from_file returned an error: %s\n", err->message);
-#if HAVE_G_TYPE_TERM
- g_type_term();
-#else
#ifndef HAVE_SVG_2_36
rsvg_term();
-#endif
#endif
return NULL;
}
#else
rsvg_handle_free(rsvgh);
#endif
-#if HAVE_G_TYPE_TERM
- g_type_term();
-#else
#ifndef HAVE_SVG_2_36
rsvg_term();
-#endif
#endif
return NULL;
}
#else
rsvg_handle_free(rsvgh);
#endif
-#if HAVE_G_TYPE_TERM
- g_type_term();
-#else
#ifndef HAVE_SVG_2_36
rsvg_term();
-#endif
#endif
return NULL;
}
#else
rsvg_handle_free(rsvgh);
#endif
-#if HAVE_G_TYPE_TERM
- g_type_term();
-#else
#ifndef HAVE_SVG_2_36
rsvg_term();
-#endif
#endif
return NULL;
}