X-Git-Url: https://git.draconx.ca/gitweb/gob-dx.git/blobdiff_plain/a8ea1a669f332b0ed29c6271896476f59f357533..4d534c82fb65897999ade6867534ab952a9bc019:/src/util.c diff --git a/src/util.c b/src/util.c index 84ed63e..4d42440 100644 --- a/src/util.c +++ b/src/util.c @@ -268,7 +268,10 @@ get_cast (const char *type, gboolean simple_only) init_type_hash (); - gtype = g_hash_table_lookup (type_hash, type); + if(strncmp(type, "BOXED_", 6) == 0) + gtype = g_hash_table_lookup (type_hash, "BOXED"); + else + gtype = g_hash_table_lookup (type_hash, type); if (gtype == NULL || (simple_only &&