seoz pushed a commit to branch master.

commit a91801a5c6c2b89e970d53817a9c8b42e2335518
Author: Thiep Ha <>
Date:   Fri May 22 03:35:47 2015 +0900

    fileselector button: correct window parent finding
    Fileselector button fails to run in inwin mode.
    It is caused by incorrect window parent finding.
    This patch corrects the window parent finding.
    Test Plan:
    run FileSelector Button, toggle Inwin mode option to on,
    eo gives error and nothing is shown.
    Reviewers: Hermet, seoz
    Reviewed By: seoz
    Differential Revision:
 src/lib/elc_fileselector_button.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/elc_fileselector_button.c 
index fb64c68..b62b684 100644
--- a/src/lib/elc_fileselector_button.c
+++ b/src/lib/elc_fileselector_button.c
@@ -103,7 +103,7 @@ _new_window_add(Elm_Fileselector_Button_Data *sd)
 static Evas_Object *
 _parent_win_get(Evas_Object *obj)
-   while (eo_isa(obj, ELM_WIN_CLASS))
+   while (!eo_isa(obj, ELM_WIN_CLASS))
      obj = elm_object_parent_widget_get(obj);
    return obj;


Reply via email to