summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--legacy/elementary/src/lib/elm_entry.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/legacy/elementary/src/lib/elm_entry.c b/legacy/elementary/src/lib/elm_entry.c
index 75042abb66..42279fa09d 100644
--- a/legacy/elementary/src/lib/elm_entry.c
+++ b/legacy/elementary/src/lib/elm_entry.c
@@ -2152,8 +2152,6 @@ _entry_selection_start_signal_cb(void *data,
2152{ 2152{
2153 const Eina_List *l; 2153 const Eina_List *l;
2154 Evas_Object *entry; 2154 Evas_Object *entry;
2155 const char *txt = elm_entry_selection_get(data);
2156 Evas_Object *top;
2157 2155
2158 EINA_LIST_FOREACH(entries, l, entry) 2156 EINA_LIST_FOREACH(entries, l, entry)
2159 { 2157 {
@@ -2162,13 +2160,6 @@ _entry_selection_start_signal_cb(void *data,
2162 eo_event_callback_call 2160 eo_event_callback_call
2163 (data, EVAS_SELECTABLE_INTERFACE_EVENT_SELECTION_START, NULL); 2161 (data, EVAS_SELECTABLE_INTERFACE_EVENT_SELECTION_START, NULL);
2164 2162
2165 top = elm_widget_top_get(data);
2166 if (txt && top && (elm_win_window_id_get(top)))
2167 {
2168 elm_cnp_selection_set(data, ELM_SEL_TYPE_PRIMARY,
2169 ELM_SEL_FORMAT_MARKUP, txt, strlen(txt));
2170 elm_cnp_selection_loss_callback_set(data, ELM_SEL_TYPE_PRIMARY, _selection_clear, data);
2171 }
2172 elm_object_focus_set(data, EINA_TRUE); 2163 elm_object_focus_set(data, EINA_TRUE);
2173} 2164}
2174 2165