aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Dransfeld <sd@tango.flipp.net>2014-09-30 20:49:16 +0200
committerSebastian Dransfeld <sd@tango.flipp.net>2014-09-30 23:19:57 +0200
commitd1207854f4bf64c22c95f99c0a9f9c84e1a2cf03 (patch)
treea5619be687722f79fa11acd752901917b8cd5da1
parenteolian-cxx: Add Eina_Bool* also to C++ interop. (diff)
downloadefl-d1207854f4bf64c22c95f99c0a9f9c84e1a2cf03.tar.gz
efreet: fix show/nowshow
This partly reverts c700192, as the change here was wrong.
-rw-r--r--src/lib/efreet/efreet_desktop.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/lib/efreet/efreet_desktop.c b/src/lib/efreet/efreet_desktop.c
index 2645c94c1e..f672ba7545 100644
--- a/src/lib/efreet/efreet_desktop.c
+++ b/src/lib/efreet/efreet_desktop.c
@@ -1120,11 +1120,9 @@ efreet_desktop_environment_check(Efreet_Desktop *desktop)
break;
}
}
- if (found)
- return 1;
+ return found;
}
-
if (desktop->not_show_in)
{
EINA_LIST_FOREACH(desktop->not_show_in, list, val)
@@ -1135,8 +1133,7 @@ efreet_desktop_environment_check(Efreet_Desktop *desktop)
break;
}
}
- if (found)
- return 0;
+ return !found;
}
return 1;