discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=fe48334c598b19322afb870cad96110fb37a5c21

commit fe48334c598b19322afb870cad96110fb37a5c21
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Fri Jul 7 16:26:50 2017 -0400

    elm_entry: don't use window_id to determine type of window
    
    there's a real function for this...
    
    ref a173efd0a9892daca66bde76f7e90c66f39b9d23
---
 src/lib/elementary/elm_entry.c | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/src/lib/elementary/elm_entry.c b/src/lib/elementary/elm_entry.c
index f9f2faae76..8c8b2b82c5 100644
--- a/src/lib/elementary/elm_entry.c
+++ b/src/lib/elementary/elm_entry.c
@@ -2382,10 +2382,8 @@ _entry_paste_request_signal_cb(void *data,
    efl_event_callback_legacy_call
      (data, EFL_UI_EVENT_SELECTION_PASTE, NULL);
 
-   top = elm_widget_top_get(data);
-   if (!elm_win_window_id_get(top))
-     top = elm_widget_parent2_get(top);
-   if ((top) && (elm_win_window_id_get(top)))
+   top = _entry_win_get(data);
+   if (top)
      {
         Elm_Sel_Format formats = ELM_SEL_FORMAT_MARKUP | ELM_SEL_FORMAT_TEXT;
 

-- 


Reply via email to