Enlightenment CVS committal

Author  : moom
Project : e17
Module  : libs/etk

Dir     : e17/libs/etk/src/lib


Modified Files:
        etk_tree2_model.c 


Log Message:
* [Tree2] Image model: do not load twice the image, it may help..


===================================================================
RCS file: /cvs/e/e17/libs/etk/src/lib/etk_tree2_model.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- etk_tree2_model.c   3 Jan 2007 23:35:25 -0000       1.3
+++ etk_tree2_model.c   4 Jan 2007 00:04:46 -0000       1.4
@@ -512,16 +512,6 @@
       }
    }
    
-   /* If the image is loaded from an edje file, or if trying to open as a 
normal image has failed */
-   if (image_data->type == ETK_TREE2_MODEL_EDJE)
-   {
-      cell_objects[0] = edje_object_add(evas);
-      if (edje_object_file_set(cell_objects[0], image_data->filename, 
image_data->key))
-         edje_object_size_min_get(cell_objects[0], &image_width, 
&image_height);
-      else
-         image_data->type = ETK_TREE2_MODEL_NOT_FOUND;
-   }
-   
    /* Loading has failed... we return */
    if (image_data->type == ETK_TREE2_MODEL_NOT_FOUND)
    {



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to