Enlightenment CVS committal

Author  : titansoccer15
Project : e17
Module  : proto

Dir     : e17/proto/ephoto/src


Modified Files:
        ephoto_browsing.c ephoto_presentation.c 


Log Message:

Audio fixes due to a ewl_media change.

===================================================================
RCS file: /cvsroot/enlightenment/e17/proto/ephoto/src/ephoto_browsing.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- ephoto_browsing.c   20 Feb 2006 19:41:30 -0000      1.1
+++ ephoto_browsing.c   20 Feb 2006 22:41:19 -0000      1.2
@@ -451,7 +451,7 @@
        audios = strdup(pathi);
        audio = 1;
        printf("%s\n", audios);
-       #ifdef __EWL_MEDIA_H__
+#ifdef EWL_MEDIA_H
        if (audio != 0) {
                ewl_widget_enable(m->audiolen);
                ewl_widget_state_set(m->audiolen, "enabled");
===================================================================
RCS file: /cvsroot/enlightenment/e17/proto/ephoto/src/ephoto_presentation.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- ephoto_presentation.c       20 Feb 2006 19:41:30 -0000      1.1
+++ ephoto_presentation.c       20 Feb 2006 22:41:19 -0000      1.2
@@ -13,7 +13,7 @@
        /*********************/
        
        /****Make sure audio keeps playing :)*****/
-       #ifdef __EWL_MEDIA_H__
+       #ifdef EWL_MEDIA_H
        if (audio != 0) {
                ewl_media_play_set(EWL_MEDIA(s->audio1), 1);
        }
@@ -86,7 +86,7 @@
 void
 play_cb(Ewl_Widget *w, void *event, void *data)
 {
-#ifdef __EWL_MEDIA_H__
+#ifdef EWL_MEDIA_H
        if (audio != 0) {
                ewl_media_play_set(EWL_MEDIA(s->audio1), 1);
                audiolen = ewl_media_length_get(EWL_MEDIA(s->audio1));
@@ -136,7 +136,7 @@
        ewl_callback_append(s->wins, EWL_CALLBACK_CLICKED, destroys_cb, NULL);
        ewl_widget_show(s->wins);
 
-#ifdef __EWL_MEDIA_H__
+#ifdef EWL_MEDIA_H
        if (audio != 0) {
                s->audio1 = ewl_media_new();
                ewl_container_child_append(EWL_CONTAINER(s->wins), s->audio1);
@@ -150,7 +150,7 @@
        /*******************************************************************/
        
        /*******Start the slideshow*******/     
-#ifdef __EWL_MEDIA_H__
+#ifdef EWL_MEDIA_H
        ewl_callback_append(s->audio1, EWL_CALLBACK_REALIZE, play_cb, NULL);
 #endif
        




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to