box: remove unused function 27/174127/1
authorLukasz Stanislawski <l.stanislaws@samsung.com>
Wed, 28 Mar 2018 09:27:58 +0000 (11:27 +0200)
committerLukasz Stanislawski <l.stanislaws@samsung.com>
Wed, 28 Mar 2018 10:00:06 +0000 (12:00 +0200)
Change-Id: I674f992757999173e38a5a0f1a80bec9d5dd415b

inc/box.h
src/box.c

index 0799da9..cf682b7 100644 (file)
--- a/inc/box.h
+++ b/inc/box.h
@@ -167,17 +167,6 @@ extern int box_get_max_count_in_non_fixed_list(void);
 extern Icon_AddType box_is_enable_to_insert_in_non_fixed_list(icon_s *icon);
 
 /**
- * @brief Gets priority in move area.
- *
- * @param[in] win win info
- * @param[in] x x coordinate of the area
- * @param[in] y y coordinate of the area
- *
- * @return priority
- */
-extern int box_get_priority_in_move_area(win_info *win, Evas_Coord x, Evas_Coord y);
-
-/**
  * @brief Checks indicator area.
  *
  * @param[in] win win info
index cf22c19..c0ebf88 100644 (file)
--- a/src/box.c
+++ b/src/box.c
@@ -472,27 +472,6 @@ int box_get_max_count_in_non_fixed_list(void)
        return PORT_NONFIXED_ICON_COUNT;
 }
 
-
-int box_get_priority_in_move_area(win_info *win, Evas_Coord curr_x, Evas_Coord curr_y)
-{
-       Evas_Coord x, y, h, w;
-
-       /* Home Area Check for launching home */
-       evas_object_geometry_get(win->_fixed_box[INDICATOR_PRIORITY_FIXED1], &x, &y, &h, &w);
-
-       if (curr_x >= x - CORRECTION && curr_x <= x+h + CORRECTION) {
-               if (curr_y == -1) {
-                       return INDICATOR_PRIORITY_FIXED1;
-               } else if (curr_y >= y - CORRECTION && curr_y <= y+h + CORRECTION) {
-                       return INDICATOR_PRIORITY_FIXED1;
-               }
-       }
-
-       /* Non Fixed Area check for show/hide quickpanel */
-       return -1;
-}
-
-
 int box_check_indicator_area(win_info *win, Evas_Coord curr_x, Evas_Coord curr_y)
 {
        Evas_Coord x, y, w, h;