Commit 69ead395 authored by Michael Natterer's avatar Michael Natterer 😴 Committed by Michael Natterer
Browse files

always create the event mapping table. Fixes tons of warnings and

2004-11-22  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpcontrollerinfo.c (gimp_controller_info_init):
	always create the event mapping table. Fixes tons of warnings and
	non-functional controller mapping dialog when an empty controller
	was deserialized from controllerrc. Spotted by drc.
parent 6f4d9df0
2004-11-22 Michael Natterer <mitch@gimp.org>
* app/widgets/gimpcontrollerinfo.c (gimp_controller_info_init):
always create the event mapping table. Fixes tons of warnings and
non-functional controller mapping dialog when an empty controller
was deserialized from controllerrc. Spotted by drc.
2004-11-22 Sven Neumann <sven@gimp.org>
 
* app/app_procs.c (app_exit_after_callback): call base_exit()
......
......@@ -178,7 +178,10 @@ static void
gimp_controller_info_init (GimpControllerInfo *info)
{
info->controller = NULL;
info->mapping = NULL;
info->mapping = g_hash_table_new_full (g_str_hash,
g_str_equal,
(GDestroyNotify) g_free,
(GDestroyNotify) g_free);
}
static void
......
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