Commit 4ca51d55 authored by Michael Natterer's avatar Michael Natterer 😴 Committed by Michael Natterer

if plug_in_rc_parse() returns an empty list it's not neccessarily an eror,

2006-10-23  Michael Natterer  <mitch@gimp.org>

	* app/plug-in/gimppluginmanager.c (gimp_plug_in_manager_restore):
	if plug_in_rc_parse() returns an empty list it's not neccessarily
	an eror, so check the "error" variable before accessing it.
	Fixes bug #363345.
parent bfbdbbf7
2006-10-23 Michael Natterer <mitch@gimp.org>
* app/plug-in/gimppluginmanager.c (gimp_plug_in_manager_restore):
if plug_in_rc_parse() returns an empty list it's not neccessarily
an eror, so check the "error" variable before accessing it.
Fixes bug #363345.
2006-10-23 Michael Natterer <mitch@gimp.org>
* plug-ins/common/plugin-defs.pl
......
......@@ -303,7 +303,7 @@ gimp_plug_in_manager_initialize (GimpPlugInManager *manager,
gimp_environ_table_load (manager->environ_table, path);
g_free (path);
/* allocate a piece of shared memory for use in transporting tiles
/* allocate a piece of shared memory for use in transporting tiles
* to plug-ins. if we can't allocate a piece of shared memory then
* we'll fall back on sending the data over the pipe.
*/
......@@ -382,7 +382,7 @@ gimp_plug_in_manager_restore (GimpPlugInManager *manager,
g_slist_free (rc_defs);
}
else
else if (error)
{
if (error->code != GIMP_CONFIG_ERROR_OPEN_ENOENT)
gimp_message (gimp, NULL, GIMP_MESSAGE_ERROR, "%s", error->message);
......
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