Remove unused code 96/47496/1
authorJihoon Kim <jihoon48.kim@samsung.com>
Fri, 4 Sep 2015 02:12:46 +0000 (11:12 +0900)
committerJihoon Kim <jihoon48.kim@samsung.com>
Fri, 4 Sep 2015 02:12:46 +0000 (11:12 +0900)
Change-Id: I6571ce725ec6be90343f4424f14a86be7f8e3899

src/e_mod_main.c

index d3f1bfa..7710513 100644 (file)
@@ -17,7 +17,6 @@ struct _E_Text_Input
 
    E_Comp_Data *cdata;
    Eina_List *input_methods;
-   Eina_Rectangle *cursor_rect;
    Eina_Bool input_panel_visibile;
 };
 
@@ -600,8 +599,6 @@ _e_text_input_cb_cursor_rectangle_set(struct wl_client *client EINA_UNUSED, stru
         return;
      }
 
-   text_input->cursor_rect = eina_rectangle_new(x, y, width, height);
-
    // TODO: issue event update input_panel
 }
 
@@ -764,12 +761,6 @@ _e_text_input_cb_destroy(struct wl_resource *resource)
 
    e_input_panel_visibility_change(EINA_FALSE);
 
-   if (text_input->cursor_rect)
-     {
-        eina_rectangle_free(text_input->cursor_rect);
-        text_input->cursor_rect = NULL;
-     }
-
    free(text_input);
 }