summaryrefslogtreecommitdiff
path: root/src/lib/emotion/emotion_smart.c
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2015-02-23 16:38:00 +0000
committerTom Hacohen <tom@stosb.com>2015-02-23 17:16:02 +0000
commit648ad2591c196eb4be5f4972859675596dc61711 (patch)
tree726928ee83a3bf7788d8d762e4b3dc464871969d /src/lib/emotion/emotion_smart.c
parenta791d97bfcc7ae66f63e9fa694292bd7a0fc3610 (diff)
Fix code to conform to recent Eo changes.
Diffstat (limited to 'src/lib/emotion/emotion_smart.c')
-rw-r--r--src/lib/emotion/emotion_smart.c24
1 files changed, 16 insertions, 8 deletions
diff --git a/src/lib/emotion/emotion_smart.c b/src/lib/emotion/emotion_smart.c
index fe02a8f..4d8b4df 100644
--- a/src/lib/emotion/emotion_smart.c
+++ b/src/lib/emotion/emotion_smart.c
@@ -370,7 +370,8 @@ _emotion_object_engine_set(Eo *obj, Emotion_Object_Data *pd, const char *engine)
370EAPI Eina_Bool 370EAPI Eina_Bool
371emotion_object_file_set(Evas_Object *obj, const char *file) 371emotion_object_file_set(Evas_Object *obj, const char *file)
372{ 372{
373 return eo_do(obj, efl_file_set(file, NULL)); 373 Eina_Bool ret;
374 return eo_do_ret(obj, ret, efl_file_set(file, NULL));
374} 375}
375 376
376EOLIAN static Eina_Bool 377EOLIAN static Eina_Bool
@@ -668,7 +669,8 @@ _emotion_object_efl_player_play_set(Eo *obj, Emotion_Object_Data *sd, Eina_Bool
668EAPI Eina_Bool 669EAPI Eina_Bool
669emotion_object_play_get(const Evas_Object *obj) 670emotion_object_play_get(const Evas_Object *obj)
670{ 671{
671 return eo_do(obj, efl_player_play_get()); 672 Eina_Bool ret;
673 return eo_do_ret(obj, ret, efl_player_play_get());
672} 674}
673 675
674EOLIAN static Eina_Bool 676EOLIAN static Eina_Bool
@@ -706,7 +708,8 @@ _emotion_object_efl_player_position_set(Eo *obj, Emotion_Object_Data *sd, double
706EAPI double 708EAPI double
707emotion_object_position_get(const Evas_Object *obj) 709emotion_object_position_get(const Evas_Object *obj)
708{ 710{
709 return eo_do(obj, efl_player_position_get()); 711 double ret;
712 return eo_do_ret(obj, ret, efl_player_position_get());
710} 713}
711 714
712EOLIAN static double 715EOLIAN static double
@@ -799,7 +802,8 @@ _emotion_object_efl_image_smooth_scale_set(Eo *obj EINA_UNUSED, Emotion_Object_D
799EAPI Eina_Bool 802EAPI Eina_Bool
800emotion_object_smooth_scale_get(const Evas_Object *obj) 803emotion_object_smooth_scale_get(const Evas_Object *obj)
801{ 804{
802 return eo_do(obj, efl_image_smooth_scale_get()); 805 Eina_Bool ret;
806 return eo_do_ret(obj, ret, efl_image_smooth_scale_get());
803} 807}
804 808
805EOLIAN static Eina_Bool 809EOLIAN static Eina_Bool
@@ -811,7 +815,8 @@ _emotion_object_efl_image_smooth_scale_get(Eo *obj EINA_UNUSED, Emotion_Object_D
811EAPI double 815EAPI double
812emotion_object_ratio_get(const Evas_Object *obj) 816emotion_object_ratio_get(const Evas_Object *obj)
813{ 817{
814 return eo_do(obj, efl_image_ratio_get()); 818 double ret;
819 return eo_do_ret(obj, ret, efl_image_ratio_get());
815} 820}
816 821
817EOLIAN static double 822EOLIAN static double
@@ -851,7 +856,8 @@ _emotion_object_efl_player_audio_volume_set(Eo *obj EINA_UNUSED, Emotion_Object_
851EAPI double 856EAPI double
852emotion_object_audio_volume_get(const Evas_Object *obj) 857emotion_object_audio_volume_get(const Evas_Object *obj)
853{ 858{
854 return eo_do(obj, efl_player_audio_volume_get()); 859 double ret;
860 return eo_do_ret(obj, ret, efl_player_audio_volume_get());
855} 861}
856 862
857EOLIAN static double 863EOLIAN static double
@@ -878,7 +884,8 @@ _emotion_object_efl_player_audio_mute_set(Eo *obj EINA_UNUSED, Emotion_Object_Da
878EAPI Eina_Bool 884EAPI Eina_Bool
879emotion_object_audio_mute_get(const Evas_Object *obj) 885emotion_object_audio_mute_get(const Evas_Object *obj)
880{ 886{
881 return eo_do(obj, efl_player_audio_mute_get()); 887 Eina_Bool ret;
888 return eo_do_ret(obj, ret, efl_player_audio_mute_get());
882} 889}
883 890
884EOLIAN static Eina_Bool 891EOLIAN static Eina_Bool
@@ -1168,7 +1175,8 @@ emotion_object_progress_info_get(const Evas_Object *obj)
1168EAPI double 1175EAPI double
1169emotion_object_progress_status_get(const Evas_Object *obj) 1176emotion_object_progress_status_get(const Evas_Object *obj)
1170{ 1177{
1171 return eo_do(obj, efl_player_progress_get()); 1178 double ret;
1179 return eo_do_ret(obj, ret, efl_player_progress_get());
1172} 1180}
1173 1181
1174EOLIAN static double 1182EOLIAN static double