Enlightenment CVS committal

Author  : chaos
Project : e17
Module  : proto/entropy

Dir     : e17/proto/entropy/src/plugins


Modified Files:
        etk_list_viewer.c 


Log Message:
* Catch a crash that occurs rarely :)

===================================================================
RCS file: /cvs/e/e17/proto/entropy/src/plugins/etk_list_viewer.c,v
retrieving revision 1.88
retrieving revision 1.89
diff -u -3 -r1.88 -r1.89
--- etk_list_viewer.c   5 Aug 2007 12:25:22 -0000       1.88
+++ etk_list_viewer.c   19 Aug 2007 01:50:06 -0000      1.89
@@ -494,10 +494,11 @@
 
        event_file = ecore_hash_get(viewer->gui_hash,file);
 
-       etk_tree_row_delete(event_file->icon);
-
-       /*Destroy the gui_file object..*/
-       gui_file_remove_destroy_single(instance,event_file);
+       if (event_file) {
+               etk_tree_row_delete(event_file->icon);
+               /*Destroy the gui_file object..*/
+               gui_file_remove_destroy_single(instance,event_file);
+       }
        
 }
 



-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to