register type name fix
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 2 Mar 2011 17:07:05 +0000 (12:07 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 2 Mar 2011 17:07:05 +0000 (12:07 -0500)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
types/types.c

index 4b614f39978e49c6a41d9869e6f60fd251d9bc76..54116540762c01e99c96ee0d19b4ea2bd9e47d78 100644 (file)
@@ -45,8 +45,6 @@ struct type *lookup_type(GQuark type_name, struct type_scope *scope)
 
 int register_type(GQuark name, struct type *type, struct type_scope *scope)
 {
-       g_assert(name == type->name);
-
        if (!name)
                return -EPERM;
 
This page took 0.032999 seconds and 4 git commands to generate.