From 61923605727999d9efd704dbe9df3c7944d5a83d Mon Sep 17 00:00:00 2001 From: devilhorns Date: Thu, 8 Mar 2012 15:54:21 +0000 Subject: [PATCH] Ecore_Wayland: Remove free of the interfaces_bound event. Thanks Seb :) git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@69063 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/lib/ecore_wayland/ecore_wl.c | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/src/lib/ecore_wayland/ecore_wl.c b/src/lib/ecore_wayland/ecore_wl.c index a6d9072..6732c1a 100644 --- a/src/lib/ecore_wayland/ecore_wl.c +++ b/src/lib/ecore_wayland/ecore_wl.c @@ -33,7 +33,6 @@ static Eina_Bool _ecore_wl_egl_init(Ecore_Wl_Display *ewd); static Eina_Bool _ecore_wl_egl_shutdown(Ecore_Wl_Display *ewd); static Eina_Bool _ecore_wl_xkb_init(Ecore_Wl_Display *ewd); static Eina_Bool _ecore_wl_xkb_shutdown(Ecore_Wl_Display *ewd); -static void _ecore_wl_cb_interfaces_bound_free(void *data __UNUSED__, void *event); /* local variables */ static int _ecore_wl_init_count = 0; @@ -437,8 +436,7 @@ _ecore_wl_cb_handle_global(struct wl_display *disp, unsigned int id, const char ev->shm = (ewd->wl.shm != NULL); ev->shell = (ewd->wl.shell != NULL); - ecore_event_add(ECORE_WL_EVENT_INTERFACES_BOUND, ev, - _ecore_wl_cb_interfaces_bound_free, NULL); + ecore_event_add(ECORE_WL_EVENT_INTERFACES_BOUND, ev, NULL, NULL); } } @@ -551,13 +549,3 @@ _ecore_wl_xkb_shutdown(Ecore_Wl_Display *ewd) if (ewd->xkb) xkb_free_keymap(ewd->xkb); return EINA_TRUE; } - -static void -_ecore_wl_cb_interfaces_bound_free(void *data __UNUSED__, void *event) -{ - Ecore_Wl_Event_Interfaces_Bound *ev; - - LOGFN(__FILE__, __LINE__, __FUNCTION__); - - if ((ev = event)) free(ev); -} -- 2.7.4