summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmitesh Singh <amitesh.sh@samsung.com>2015-03-12 15:44:09 +0900
committerChunEon Park <hermet@hermet.pe.kr>2015-03-12 15:44:09 +0900
commitf0e761fc95e520370add7f02aef030386d366df0 (patch)
tree7d429c24eed46df5df7eff3cad9ef4689f6eeffa
parentd98721a056f1408ff99d347a57154ae4d3599ab7 (diff)
entry: use ea_isa() for object types comparison
Reviewers: seoz, raster, Hermet Reviewed By: Hermet Subscribers: kimcinoo, seoz, sachin.dev Differential Revision: https://phab.enlightenment.org/D2132
-rw-r--r--src/lib/elm_entry.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/elm_entry.c b/src/lib/elm_entry.c
index e7f018ca6..615bc2db4 100644
--- a/src/lib/elm_entry.c
+++ b/src/lib/elm_entry.c
@@ -3460,7 +3460,7 @@ _elm_entry_evas_object_smart_add(Eo *obj, Elm_Entry_Data *priv)
3460 3460
3461#ifdef HAVE_ELEMENTARY_X 3461#ifdef HAVE_ELEMENTARY_X
3462 top = elm_widget_top_get(obj); 3462 top = elm_widget_top_get(obj);
3463 if (top && (!eina_streq(evas_object_type_get(top), "elm_win"))) 3463 if (!eo_isa(top, ELM_WIN_CLASS))
3464 top = ecore_evas_data_get(ecore_evas_ecore_evas_get(evas_object_evas_get(obj)), "elm_win"); 3464 top = ecore_evas_data_get(ecore_evas_ecore_evas_get(evas_object_evas_get(obj)), "elm_win");
3465 if ((top) && (elm_win_xwindow_get(top))) 3465 if ((top) && (elm_win_xwindow_get(top)))
3466 { 3466 {