Enlightenment CVS committal

Author  : doursse
Project : e17
Module  : libs/emotion

Dir     : e17/libs/emotion/src/lib


Modified Files:
        emotion_smart.c 


Log Message:
remove printf
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/emotion/src/lib/emotion_smart.c,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -3 -r1.17 -r1.18
--- emotion_smart.c     2 Oct 2005 07:34:36 -0000       1.17
+++ emotion_smart.c     2 Oct 2005 12:19:36 -0000       1.18
@@ -98,13 +98,11 @@
    
    snprintf(buf, sizeof(buf), "%s%s", PACKAGE_LIB_DIR"/emotion/",
    name);
-   printf ("module : %s\n", buf);
    handle = dlopen(buf, RTLD_NOW | RTLD_GLOBAL);
    if (handle)
      {
        unsigned char (*func_module_open)(Evas_Object *, Emotion_Video_Module 
**, void **);
        
-       printf ("module opened\n");
        func_module_open = dlsym(handle, "module_open");
        if (func_module_open)
          {
@@ -120,7 +118,7 @@
      {
        char *err;
        err = dlerror();
-       printf ("pas de module : %s\n", err);
+       printf ("No module. Error: %s\n", err);
      }
    return 0;
 }
@@ -173,12 +171,6 @@
    sd->pos = 0;
    sd->seek_pos = 0;
    sd->len = 0;
-   
-   if (!sd->module || !sd->video)
-     {
-        if (!_emotion_module_open(module_filename, obj, &sd->module, 
&sd->video))
-         return 0;
-     }
 
    if (!sd->module || !sd->video)
      if (!_emotion_module_open(module_filename, obj, &sd->module, &sd->video))
@@ -251,11 +243,9 @@
 {
    Smart_Data *sd;
    
-   printf ("play get\n");
    E_SMART_OBJ_GET_RETURN(sd, obj, E_OBJ_NAME, 0);
-   printf ("play get1\n");
    if (!sd->video) return 0;
-   printf ("play get2\n");
+
    return sd->play;
 }
 
@@ -826,7 +816,7 @@
    Smart_Data *sd;
    int iw, ih;
    int changed = 0;
-   printf ("frame resize %d %d\n", w, h);   
+
    E_SMART_OBJ_GET(sd, obj, E_OBJ_NAME);
    evas_object_image_size_get(sd->obj, &iw, &ih);
    if ((w != iw) || (h != ih))




-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to