Enlightenment CVS committal

Author  : ningerso
Project : e17
Module  : libs/ewl

Dir     : e17/libs/ewl/src/lib


Modified Files:
        ewl_tree2.c 


Log Message:
Prevent the segv but display needs fixing still.

===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_tree2.c,v
retrieving revision 1.52
retrieving revision 1.53
diff -u -3 -r1.52 -r1.53
--- ewl_tree2.c 22 Jan 2007 09:33:03 -0000      1.52
+++ ewl_tree2.c 24 Jan 2007 11:39:28 -0000      1.53
@@ -761,6 +761,9 @@
                column ++;
        }
 
+       if (!model)
+               DRETURN(DLEVEL_STABLE);
+
        head = NEW(Ewl_Tree2_Branch_Cache, 1);
        head->row_count = model->count(mvc_data);
        head->data = mvc_data;



-------------------------------------------------------------------------
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