devilhorns pushed a commit to branch master.

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

commit 4bd535e3a17f36fbdde7b6e5b94bd02592575de2
Author: Chris Michael <cp.mich...@samsung.com>
Date:   Wed Sep 30 10:48:25 2015 -0400

    ecore-wl2: Remove window animator callback when we free a window
    
    Signed-off-by: Chris Michael <cp.mich...@samsung.com>
---
 src/lib/ecore_wl2/ecore_wl2_window.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/lib/ecore_wl2/ecore_wl2_window.c 
b/src/lib/ecore_wl2/ecore_wl2_window.c
index 311c61c..3495fd6 100644
--- a/src/lib/ecore_wl2/ecore_wl2_window.c
+++ b/src/lib/ecore_wl2/ecore_wl2_window.c
@@ -408,7 +408,8 @@ ecore_wl2_window_free(Ecore_Wl2_Window *window)
           }
      }
 
-   /* TODO: delete window anim callback */
+   if (window->anim_cb) wl_callback_destroy(window->anim_cb);
+
    /* TODO: destroy subsurfaces */
 
    ecore_wl2_window_hide(window);

-- 


Reply via email to