Commit 84696bcb authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann

an image doesn't necessarily have a drawable. Handle the case when it

2004-10-06  Sven Neumann  <sven@gimp.org>

	* app/actions/plug-in-actions.c (plug_in_actions_update): an image
	doesn't necessarily have a drawable. Handle the case when it doesn't.
parent 1956f311
2004-10-06 Sven Neumann <sven@gimp.org>
* app/actions/plug-in-actions.c (plug_in_actions_update): an image
doesn't necessarily have a drawable. Handle the case when it doesn't.
2004-10-06 Sven Neumann <sven@gimp.org>
* app/app_procs.[ch]
......
......@@ -153,7 +153,8 @@ plug_in_actions_update (GimpActionGroup *group,
{
GimpDrawable *drawable = gimp_image_active_drawable (gimage);
type = gimp_drawable_type (drawable);
if (drawable)
type = gimp_drawable_type (drawable);
}
for (list = group->gimp->plug_in_proc_defs;
......
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