e_test_helper: modified code for unresister window 90/80190/2
authorDoyoun Kang <doyoun.kang@samsung.com>
Fri, 15 Jul 2016 06:32:54 +0000 (15:32 +0900)
committerGwanglim Lee <gl77.lee@samsung.com>
Fri, 15 Jul 2016 06:43:57 +0000 (23:43 -0700)
Change-Id: I8467ef040405b0b8de889dd119820ac93e9082eb

src/bin/e_test_helper.c

index be0fc95bbcf175975f11dbe9cd8fd6af49742799..1f6359796de6e2ea6c601e54817f8c59693b17c1 100644 (file)
@@ -217,13 +217,11 @@ _e_test_helper_cb_deregister_window(const Eldbus_Service_Interface *iface EINA_U
         return reply;
      }
    eldbus_message_arguments_append(reply, "b", ((!th_data->registrant.win) ||
-                                                ((th_data->registrant.win == id) &&
-                                                 (th_data->registrant.vis != 1))));
+                                                (th_data->registrant.win == id)));
 
    if (th_data->registrant.win == id)
      {
-        th_data->registrant.disuse = EINA_TRUE;
-        if (th_data->registrant.vis != 1) _e_test_helper_registrant_clear();
+        _e_test_helper_registrant_clear();
      }
 
    return reply;