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

SVN revision: 41996
This commit is contained in:
Christopher Michael 2009-08-25 23:06:40 +00:00
parent c6f9667e4b
commit 01ba9b9df5
1 changed files with 1 additions and 2 deletions

View File

@ -426,8 +426,7 @@ EAPI void
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)
{