Enlightenment CVS committal

Author  : pfritz
Project : e17
Module  : libs/ewl

Dir     : e17/libs/ewl/src/lib


Modified Files:
        ewl_paned.c 


Log Message:
- remove unused variable
- fix minor fix

===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_paned.c,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -3 -r1.39 -r1.40
--- ewl_paned.c 4 Jan 2007 05:09:47 -0000       1.39
+++ ewl_paned.c 9 Jan 2007 06:11:40 -0000       1.40
@@ -428,7 +428,7 @@
        /* the paned has gotten smaller, we need to reclaim space from the
         * currently sized widgets */
        if (available_size < 0)
-               available_size -= ewl_paned_widgets_resize(sized, 
available_size);
+               available_size += ewl_paned_widgets_resize(sized, 
available_size);
 
        /* available space is less then our needed space, we need to resize
         * the other widgets until we have at least min_pane_size available */
@@ -742,7 +742,7 @@
                                                void *data __UNUSED__)
 {
        Ewl_Event_Mouse_Move *e;
-       Ewl_Paned_Grabber *g, *stop_grabber = NULL;
+       Ewl_Paned_Grabber *stop_grabber = NULL;
        Ewl_Widget *shrink = NULL, *grow = NULL, *child;
        Ewl_Container *c;
        Ewl_Paned *p;
@@ -758,7 +758,6 @@
        DCHECK_TYPE("w", w, EWL_WIDGET_TYPE);
 
        e = ev;
-       g = EWL_PANED_GRABBER(w);
        p = EWL_PANED(w->parent);
        c = EWL_CONTAINER(p);
 



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