diff options
Diffstat (limited to 'src/analysis/type.c')
-rw-r--r-- | src/analysis/type.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/analysis/type.c b/src/analysis/type.c index 4a0b7d8..e2547bd 100644 --- a/src/analysis/type.c +++ b/src/analysis/type.c @@ -215,8 +215,7 @@ static bool _g_data_type_load(GDataType *type, GObjectStorage *storage, packed_b if (ns_sep[0] != '\0') { - //result = g_data_type_load(type->namespace, storage, pbuf); // TODO - namespace = NULL; + namespace = G_DATA_TYPE(g_object_storage_unpack_object(storage, "types", pbuf)); result = (namespace != NULL); if (!result) goto exit; @@ -299,7 +298,7 @@ static bool _g_data_type_store(const GDataType *type, GObjectStorage *storage, p { assert(type->namespace != NULL); - result = g_data_type_store(type->namespace, storage, pbuf); + result = g_object_storage_pack_object(storage, "types", G_SERIALIZABLE_OBJECT(type->namespace), pbuf); if (!result) goto unlocking_exit; } |