fix typo in last commit, cast to GTypeValueTable * to get rid of const
authorManish Singh <yosh@gimp.org>
Mon, 25 Aug 2003 22:02:22 +0000 (22:02 +0000)
committerManish Singh <yosh@src.gnome.org>
Mon, 25 Aug 2003 22:02:22 +0000 (22:02 +0000)
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.

gobject/ChangeLog
gobject/gtypemodule.c

index d6e404de15c1e852fcd33c066d65781a772c7176..e59dbfa0128c67e15c478db0bb5ec9e21123320a 100644 (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
index b80b0c45e1ba5ae25618368baf7e92c8b7e546fb..dcffca1a5715a4522a6ac77b647bf9039efa80fa 100644 (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
     {