e_comp_object: remove the e,state,hung edje signal 50/309550/1
authorSooChan Lim <sc1.lim@samsung.com>
Thu, 11 Apr 2024 08:56:05 +0000 (17:56 +0900)
committerTizen Window System <tizen.windowsystem@gmail.com>
Fri, 12 Apr 2024 06:08:29 +0000 (15:08 +0900)
It is not used.

Change-Id: If9834c05b4d0ed342bd3c18e0d39709e2dacec6c

src/bin/e_client.c
src/bin/e_comp_object.c

index 12c3843..03d72c3 100644 (file)
@@ -1202,7 +1202,6 @@ _e_client_cb_ping_poller(void *data)
              if (!ec->hung)
                {
                   ec->hung = 1;
-                  evas_object_smart_callback_call(ec->frame, "hung", NULL);
                   /* FIXME: if below dialog is up - hide it now */
                }
              if (ec->delete_requested)
index de74523..0f1d3b4 100644 (file)
@@ -1066,8 +1066,6 @@ _e_comp_object_shadow_setup(E_Comp_Object *cw)
      e_comp_object_signal_emit(cw->smart_obj, "e,state,unfocused", "e");
    if (cw->ec->sticky)
      e_comp_object_signal_emit(cw->smart_obj, "e,state,sticky", "e");
-   if (cw->ec->hung)
-     e_comp_object_signal_emit(cw->smart_obj, "e,state,hung", "e");
    /* visibility must always be enabled for re_manage clients to prevent
     * pop-in animations every time the user sees a persistent client again;
     * applying visibility for iconic clients prevents the client from getting
@@ -3041,15 +3039,6 @@ _e_comp_smart_cb_unhung(void *data, Evas_Object *obj EINA_UNUSED, void *event_in
 }
 
 static void
-_e_comp_smart_cb_hung(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
-{
-   E_Comp_Object *cw = data;
-
-   if (!cw->ec) return; //NYI
-   e_comp_object_signal_emit(cw->smart_obj, "e,state,hung", "e");
-}
-
-static void
 _e_comp_smart_focus_in(void *data EINA_UNUSED, Evas *e EINA_UNUSED, Evas_Object *obj, void *event_info EINA_UNUSED)
 {
    e_comp_object_signal_emit(obj, "e,state,focused", "e");
@@ -3273,7 +3262,6 @@ _e_comp_smart_add(Evas_Object *obj)
    evas_object_smart_callback_add(obj, "stick", _e_comp_smart_cb_sticky, cw);
    evas_object_smart_callback_add(obj, "unstick", _e_comp_smart_cb_unsticky, cw);
 
-   evas_object_smart_callback_add(obj, "hung", _e_comp_smart_cb_hung, cw);
    evas_object_smart_callback_add(obj, "unhung", _e_comp_smart_cb_unhung, cw);
 
    evas_object_smart_callback_add(obj, "frame_recalc", _e_comp_smart_cb_frame_recalc, cw);