summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRadoslaw Czerski <r.czerski@samsung.com>2016-04-01 11:22:22 +0200
committerLukasz Stanislawski <l.stanislaws@samsung.com>2016-04-01 02:58:04 -0700
commitb87aa3e627bd3f0b15c0a29785c4f07df97a2d77 (patch)
tree2f98c3e86064260e68f3bdd26430b7b1141cba54 /src
parent0bac486011e05c3c76d3e0419ca4aaea4b43c5f2 (diff)
downloadindicator-win-b87aa3e627bd3f0b15c0a29785c4f07df97a2d77.tar.gz
indicator-win-b87aa3e627bd3f0b15c0a29785c4f07df97a2d77.tar.bz2
indicator-win-b87aa3e627bd3f0b15c0a29785c4f07df97a2d77.zip
box: warnings removed.
Change-Id: Ia1b65b30841d6e45bde15462d8e9bba0d69118a1 Signed-off-by: Radoslaw Czerski <r.czerski@samsung.com>
Diffstat (limited to 'src')
-rw-r--r--src/box.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/box.c b/src/box.c
index 66b7eac..56a8e44 100644
--- a/src/box.c
+++ b/src/box.c
@@ -813,8 +813,6 @@ Icon_AddType box_is_enable_to_insert_in_non_fixed_list(icon_s *obj)
} else {
if (higher_cnt >= box_get_enabled_system_count()) {
return CANNOT_ADD;
- } else if (higher_cnt+same_cnt >= box_get_enabled_system_count()) {
- return CAN_ADD_WITH_DEL_SYSTEM;
} else {
return CAN_ADD_WITH_DEL_SYSTEM;
}
@@ -833,8 +831,6 @@ Icon_AddType box_is_enable_to_insert_in_non_fixed_list(icon_s *obj)
} else {
if (higher_cnt >= box_get_minictrl_list()) {
return CANNOT_ADD;
- } else if (higher_cnt+same_cnt >= box_get_minictrl_list()) {
- return CAN_ADD_WITH_DEL_MINICTRL;
} else {
return CAN_ADD_WITH_DEL_MINICTRL;
}
@@ -949,28 +945,24 @@ extern Eina_Bool box_exist_icon(icon_s *obj)
} else {
return EINA_FALSE;
}
- break;
case INDICATOR_ICON_AREA_SYSTEM:
if (eina_list_data_find(_view_system_list, obj)) {
return EINA_TRUE;
} else {
return EINA_FALSE;
}
- break;
case INDICATOR_ICON_AREA_MINICTRL:
if (eina_list_data_find(_view_minictrl_list, obj)) {
return EINA_TRUE;
} else {
return EINA_FALSE;
}
- break;
case INDICATOR_ICON_AREA_NOTI:
if (eina_list_data_find(_view_noti_list, obj)) {
return EINA_TRUE;
} else {
return EINA_FALSE;
}
- break;
default:
break;
}