From f3c835d6fc1639b5a83b1496422f9f717e427c5d Mon Sep 17 00:00:00 2001 From: Tom Hacohen Date: Thu, 10 Apr 2014 10:04:34 +0100 Subject: [PATCH] Edje multisense: Fixed compilation following change to eo2. --- src/lib/edje/edje_multisense.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/lib/edje/edje_multisense.c b/src/lib/edje/edje_multisense.c index 7fc8fc5..d446c05 100644 --- a/src/lib/edje/edje_multisense.c +++ b/src/lib/edje/edje_multisense.c @@ -139,7 +139,7 @@ _edje_multisense_internal_sound_sample_play(Edje *ed, const char *sample_name, c Edje_Sound_Sample *sample; char snd_id_str[255]; int i; - Eina_Bool ret; + Eina_Bool ret = EINA_FALSE; if (_channel_mute(ed, channel)) return EINA_FALSE; @@ -215,7 +215,7 @@ _edje_multisense_internal_sound_sample_play(Edje *ed, const char *sample_name, c eo_del(in); return EINA_FALSE; } - eo_do(out, ecore_audio_obj_out_input_attach(in, &ret)); + eo_do(out, ret = ecore_audio_obj_out_input_attach(in)); if (!ret) { ERR("Could not attach input"); @@ -241,7 +241,7 @@ _edje_multisense_internal_sound_tone_play(Edje *ed, const char *tone_name, const #ifdef ENABLE_MULTISENSE unsigned int i; Edje_Sound_Tone *tone; - Eina_Bool ret; + Eina_Bool ret = EINA_FALSE; Eo *in; if (!tone_name) @@ -275,7 +275,7 @@ _edje_multisense_internal_sound_tone_play(Edje *ed, const char *tone_name, const if (out) outs++; } - eo_do(out, ecore_audio_obj_out_input_attach(in, &ret)); + eo_do(out, ret = ecore_audio_obj_out_input_attach(in)); if (!ret) { ERR("Could not attach input"); eo_del(in); -- 2.7.4