Enlightenment CVS committal

Author  : moom
Project : e17
Module  : libs/etk

Dir     : e17/libs/etk/src/lib


Modified Files:
        etk_tree.c 


Log Message:
* [Tree] Fix row prepending


===================================================================
RCS file: /cvs/e/e17/libs/etk/src/lib/etk_tree.c,v
retrieving revision 1.85
retrieving revision 1.86
diff -u -3 -r1.85 -r1.86
--- etk_tree.c  28 Jan 2007 22:57:06 -0000      1.85
+++ etk_tree.c  5 Feb 2007 03:49:22 -0000       1.86
@@ -961,10 +961,9 @@
    {
       new_row->prev = NULL;
       new_row->next = parent->first_child;
-      if (!parent->first_child)
-         parent->first_child = new_row;
-      else
+      if (parent->first_child)
          parent->first_child->prev = new_row;
+      parent->first_child = new_row;
       if (!parent->last_child)
          parent->last_child = new_row;
    }
@@ -1226,7 +1225,6 @@
 {
    Etk_Tree_Model *model;
    va_list args2;
-   int i;
    
    if (!row)
       return;



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to