mirror of https://github.com/GNOME/gimp.git
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.
This commit is contained in:
parent
6f4d9df019
commit
69ead3955c
|
@ -1,3 +1,10 @@
|
|||
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
|
||||
|
|
Loading…
Reference in New Issue