From 0b9d6c7bb17d49804a7cd5d866369368ddc1043f Mon Sep 17 00:00:00 2001 From: Cedric BAIL Date: Fri, 13 Aug 2010 16:57:13 +0000 Subject: [PATCH] * e: fix eet API break. SVN revision: 51090 --- src/bin/e_fm_custom.c | 2 +- src/bin/e_fm_shared.h | 4 ++-- src/bin/e_ipc_codec.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/bin/e_fm_custom.c b/src/bin/e_fm_custom.c index 45d8d2908..eead760fe 100644 --- a/src/bin/e_fm_custom.c +++ b/src/bin/e_fm_custom.c @@ -34,7 +34,7 @@ e_fm2_custom_file_init(void) _e_fm2_custom_init++; if (_e_fm2_custom_init > 1) return _e_fm2_custom_init; - if (!eet_eina_stream_data_descriptor_class_set(&eddc, "e_fm2_custom_dir", sizeof (E_Fm2_Custom_Dir))) + if (!eet_eina_stream_data_descriptor_class_set(&eddc, sizeof (eddc), "e_fm2_custom_dir", sizeof (E_Fm2_Custom_Dir))) { _e_fm2_custom_init--; return 0; diff --git a/src/bin/e_fm_shared.h b/src/bin/e_fm_shared.h index 5cab2e760..637f0c5cd 100644 --- a/src/bin/e_fm_shared.h +++ b/src/bin/e_fm_shared.h @@ -124,7 +124,7 @@ _e_volume_edd_new(void) Eet_Data_Descriptor *edd; Eet_Data_Descriptor_Class eddc; - if (!eet_eina_stream_data_descriptor_class_set(&eddc, "e_volume", sizeof (E_Volume))) + if (!eet_eina_stream_data_descriptor_class_set(&eddc, sizeof (eddc), "e_volume", sizeof (E_Volume))) return NULL; // eddc.func.str_alloc = (char *(*)(const char *)) strdup; @@ -155,7 +155,7 @@ _e_storage_edd_new(void) Eet_Data_Descriptor *edd; Eet_Data_Descriptor_Class eddc; - if (!eet_eina_stream_data_descriptor_class_set(&eddc, "e_storage", sizeof (E_Storage))) + if (!eet_eina_stream_data_descriptor_class_set(&eddc, sizeof (eddc), "e_storage", sizeof (E_Storage))) return NULL; // eddc.func.str_alloc = (char *(*)(const char *)) strdup; diff --git a/src/bin/e_ipc_codec.c b/src/bin/e_ipc_codec.c index 5a8f12202..b0cc56d15 100644 --- a/src/bin/e_ipc_codec.c +++ b/src/bin/e_ipc_codec.c @@ -39,7 +39,7 @@ e_ipc_codec_init(void) { Eet_Data_Descriptor_Class eddc; - if (!eet_eina_stream_data_descriptor_class_set(&eddc, "int", sizeof (E_Ipc_Int))) + if (!eet_eina_stream_data_descriptor_class_set(&eddc, sizeof (eddc), "int", sizeof (E_Ipc_Int))) return 0; _e_ipc_int_edd = eet_data_descriptor_stream_new(&eddc); E_CONFIG_VAL(_e_ipc_int_edd, E_Ipc_Int, val, INT);