From 2397b88939d2738cc81a2faa6609f22863bbf4ea Mon Sep 17 00:00:00 2001 From: cedric Date: Fri, 13 Aug 2010 17:12:08 +0000 Subject: [PATCH] * eet: fix version and trigger the right alloc path. git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eet@51093 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/lib/eet_data.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/eet_data.c b/src/lib/eet_data.c index 17d70fb..995d55b 100644 --- a/src/lib/eet_data.c +++ b/src/lib/eet_data.c @@ -1683,7 +1683,7 @@ eet_eina_stream_data_descriptor_class_set(Eet_Data_Descriptor_Class *eddc, eddc->name = name; eddc->size = size; - eddc->version = 1; + eddc->version = EET_DATA_DESCRIPTOR_CLASS_VERSION; eddc->func.mem_alloc = _eet_mem_alloc; eddc->func.mem_free = _eet_mem_free; @@ -1714,7 +1714,7 @@ eet_eina_file_data_descriptor_class_set(Eet_Data_Descriptor_Class *eddc, if (!eet_eina_stream_data_descriptor_class_set(eddc, eddc_size, name, size)) return EINA_FALSE; - eddc->version = 2; + eddc->version = EET_DATA_DESCRIPTOR_CLASS_VERSION; eddc->func.hash_add = (void * (*)(void *, const char *, void *))_eet_eina_hash_direct_add_alloc; eddc->func.str_direct_alloc = _eet_str_direct_alloc; -- 2.7.4