Commit 062cf1a5 authored by Massimo Valentini's avatar Massimo Valentini

Bug 766895: The --dump-pdb-procedures-deprecated...

argument triggers a segmentation fault

Initialize babl so that, when gimp is unreffed,
using a babl_format to destroy a std brush does
not crash.
parent 06370747
......@@ -735,6 +735,7 @@ gimp_option_dump_pdb_procedures_deprecated (const gchar *option_name,
GList *deprecated_procs;
GList *iter;
babl_init ();
gimp = g_object_new (GIMP_TYPE_GIMP, NULL);
/* Make sure to turn on compatibility mode so deprecated procedures
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment