Enlightenment CVS committal

Author  : rbdpngn
Project : e17
Module  : libs/ewl

Dir     : e17/libs/ewl/src/lib


Modified Files:
        ewl_attach.c 


Log Message:
Add a check for NULL when no tooltips have been displayed.

===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/lib/ewl_attach.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -3 -r1.11 -r1.12
--- ewl_attach.c        12 Oct 2005 04:22:51 -0000      1.11
+++ ewl_attach.c        14 Oct 2005 04:12:18 -0000      1.12
@@ -432,7 +432,7 @@
        DCHECK_PARAM_PTR("w", w);
 
        /* make sure the timer gets cleaned up if the widget goes away */
-       if ((w == ewl_attach_tooltip->to) 
+       if ((ewl_attach_tooltip) && (w == ewl_attach_tooltip->to) 
                        && (ewl_attach_tooltip->timer))
                ecore_timer_del(ewl_attach_tooltip->timer);
 




-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to