tasn pushed a commit to branch master.

http://git.enlightenment.org/apps/rage.git/commit/?id=e69594024065aeb68344ab11094b57f8f5510cbe

commit e69594024065aeb68344ab11094b57f8f5510cbe
Author: Tom Hacohen <t...@stosb.com>
Date:   Thu Aug 7 10:18:04 2014 +0100

    Fix some emotion calls to be called on the emotion object.
    
    They were being called on the wrong object (the video smart instead of the 
emotion object),
    now all the functions get called on the emotion object as they should.
---
 src/bin/video.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/bin/video.c b/src/bin/video.c
index 6282b92..c2b624b 100644
--- a/src/bin/video.c
+++ b/src/bin/video.c
@@ -643,7 +643,7 @@ video_chapter_name_get(Evas_Object *obj, int chapter)
 {
    Video *sd = evas_object_smart_data_get(obj);
    if (!sd) return NULL;
-   return emotion_object_chapter_name_get(obj, chapter);
+   return emotion_object_chapter_name_get(sd->o_vid, chapter);
 }
 
 void
@@ -683,7 +683,7 @@ video_title_get(Evas_Object *obj)
 {
    Video *sd = evas_object_smart_data_get(obj);
    if (!sd) return NULL;
-   return emotion_object_title_get(obj);
+   return emotion_object_title_get(sd->o_vid);
 }
 
 int
@@ -715,7 +715,7 @@ video_audio_channel_name_get(Evas_Object *obj, int chan)
 {
    Video *sd = evas_object_smart_data_get(obj);
    if (!sd) return NULL;
-   return emotion_object_audio_channel_name_get(obj, chan);
+   return emotion_object_audio_channel_name_get(sd->o_vid, chan);
 }
 
 int
@@ -747,7 +747,7 @@ video_video_channel_name_get(Evas_Object *obj, int chan)
 {
    Video *sd = evas_object_smart_data_get(obj);
    if (!sd) return NULL;
-   return emotion_object_video_channel_name_get(obj, chan);
+   return emotion_object_video_channel_name_get(sd->o_vid, chan);
 }
 
 int
@@ -779,7 +779,7 @@ video_spu_channel_name_get(Evas_Object *obj, int chan)
 {
    Video *sd = evas_object_smart_data_get(obj);
    if (!sd) return NULL;
-   return emotion_object_spu_channel_name_get(obj, chan);
+   return emotion_object_spu_channel_name_get(sd->o_vid, chan);
 }
 
 int

-- 


Reply via email to