fix typo in last commit, cast to GTypeValueTable * to get rid of const

Mon Aug 25 14:51:46 2003  Manish Singh  <yosh@gimp.org>

        * gtypemodule.c (g_type_module_register_type): fix typo in last
        commit, cast to GTypeValueTable * to get rid of const warning.
This commit is contained in:
Manish Singh 2003-08-25 22:02:22 +00:00 committed by Manish Singh
parent e2797b3525
commit d2cd289bf2
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
Mon Aug 25 14:51:46 2003 Manish Singh <yosh@gimp.org>
* gtypemodule.c (g_type_module_register_type): fix typo in last
commit, cast to GTypeValueTable * to get rid of const warning.
Mon Aug 25 14:16:48 2003 Owen Taylor <otaylor@redhat.com>
* gtypemodule.c (g_type_module_register_type): Clarify

View File

@ -318,7 +318,7 @@ g_type_module_register_type (GTypeModule *module,
}
if (module_type_info->info.value_table)
g_free (odule_type_info->info.value_table);
g_free ((GTypeValueTable *) module_type_info->info.value_table);
}
else
{