forked from enlightenment/enlightenment
parent
6f30fefd52
commit
0b9d6c7bb1
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue