ref the actions when putting them in the mapping table.

2004-06-16  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpcontrollers.c: ref the actions when putting
	them in the mapping table.

	* app/actions/context-actions.c: added actions to change the
	opacity in 10% steps.
This commit is contained in:
Michael Natterer
2004-06-16 01:16:52 +00:00
committed by Michael Natterer
parent f3b7f4161c
commit aa96898f45
3 changed files with 18 additions and 1 deletions

View File

@ -338,7 +338,8 @@ gimp_controller_deserialize (GimpControllerManager *manager,
*key = event_id;
g_hash_table_insert (info->mapping, key, action);
g_hash_table_insert (info->mapping, key,
g_object_ref (action));
}
else
{