]> git.draconx.ca Git - gob-dx.git/blobdiff - src/util.c
Release 2.0.13
[gob-dx.git] / src / util.c
index 84ed63e482aec2a0b36cc1f0f3ecf7ad75ca70c9..4d424402cfd651ef259f60408e37f580ed7f505f 100644 (file)
@@ -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 &&