summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2014-04-10 10:04:34 +0100
committerTom Hacohen <tom@stosb.com>2014-04-10 10:04:46 +0100
commitf3c835d6fc1639b5a83b1496422f9f717e427c5d (patch)
treec34b93829d05daaf13673a2ec375dcb70da2d7f4
parent069940d026a3825cf1f7cd7f297c504d1aa5f3b0 (diff)
downloadefl-f3c835d6fc1639b5a83b1496422f9f717e427c5d.tar.gz
Edje multisense: Fixed compilation following change to eo2.
-rw-r--r--src/lib/edje/edje_multisense.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/edje/edje_multisense.c b/src/lib/edje/edje_multisense.c
index 7fc8fc54ed..d446c0534f 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);