Commit 6fe900f7 authored by Michael Natterer's avatar Michael Natterer 😴

app: always call gimp_load_config() on a newly created Gimp instance

Simply creating and destroying a Gimp now creates and destroys more
members, and some of them always need a gimp->config object.
parent f1897b65
......@@ -717,6 +717,7 @@ gimp_option_dump_gimprc (const gchar *option_name,
babl_init ();
gimp = g_object_new (GIMP_TYPE_GIMP, NULL);
gimp_load_config (gimp, NULL, NULL);
success = gimp_config_dump (format);
......@@ -740,6 +741,7 @@ gimp_option_dump_pdb_procedures_deprecated (const gchar *option_name,
babl_init ();
gimp = g_object_new (GIMP_TYPE_GIMP, NULL);
gimp_load_config (gimp, NULL, NULL);
/* Make sure to turn on compatibility mode so deprecated procedures
* are included
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment