On Tue, 25 Aug 2009, Enlightenment SVN wrote:

Log:
 Use simpler method for testing disabled state vs what we want it to be.

you should also look at and clean those kind of tests in ecore_x and ecore_evas. They are numerous :)

Vincent



Author:       devilhorns
Date:         2009-08-25 16:06:40 -0700 (Tue, 25 Aug 2009)
New Revision: 41996

Modified:
 trunk/e/src/bin/e_widget.c

Modified: trunk/e/src/bin/e_widget.c
===================================================================
--- trunk/e/src/bin/e_widget.c  2009-08-25 23:04:22 UTC (rev 41995)
+++ trunk/e/src/bin/e_widget.c  2009-08-25 23:06:40 UTC (rev 41996)
@@ -426,8 +426,7 @@
e_widget_disabled_set(Evas_Object *obj, int disabled)
{
   API_ENTRY return;
-   if (((sd->disabled) && (disabled)) ||
-       ((!sd->disabled) && (!disabled))) return;
+   if (sd->disabled == disabled) return;
   sd->disabled = disabled;
   if (sd->focused)
     {


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
enlightenment-svn mailing list
enlightenment-...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-svn

--
Ce message a été vérifié par MailScanner
pour des virus ou des polluriels et rien de
suspect n'a été trouvé.
Message délivré par le serveur de messagerie de l'Université d'Evry.

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to