discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=ea230eeaf5665b62c125ef3f6d2e45b07c0602e0

commit ea230eeaf5665b62c125ef3f6d2e45b07c0602e0
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Thu Feb 5 17:13:44 2015 -0500

    remove pixmap resource delete cb
    
    this was a stupid idea and I'm stupid for having such a stupid iea
---
 src/bin/e_pixmap.c | 10 +---------
 1 file changed, 1 insertion(+), 9 deletions(-)

diff --git a/src/bin/e_pixmap.c b/src/bin/e_pixmap.c
index b411865..275416d 100644
--- a/src/bin/e_pixmap.c
+++ b/src/bin/e_pixmap.c
@@ -87,14 +87,6 @@ _e_pixmap_image_clear_x(void *data, Evas *e EINA_UNUSED, 
Evas_Object *obj EINA_U
 }
 #endif
 
-#if defined(HAVE_WAYLAND_CLIENTS) || defined(HAVE_WAYLAND_ONLY)
-static void
-_e_pixmap_image_clear_wl(void *data, Evas *e EINA_UNUSED, Evas_Object *obj 
EINA_UNUSED, void *event_info EINA_UNUSED)
-{
-   E_FREE_LIST(data, _e_pixmap_resource_free);
-}
-#endif
-
 static void
 _e_pixmap_free(E_Pixmap *cp)
 {
@@ -119,7 +111,7 @@ _e_pixmap_free(E_Pixmap *cp)
 #if defined(HAVE_WAYLAND_CLIENTS) || defined(HAVE_WAYLAND_ONLY)
         if (!cp->resource_cache) break;
         if (cp->client)
-          evas_object_event_callback_add(cp->client->frame, 
EVAS_CALLBACK_FREE, _e_pixmap_image_clear_wl, cp->resource_cache);
+          eina_list_free(cp->resource_cache);
         else
           {
              void *i;

-- 


Reply via email to