From: devilhorns Date: Thu, 12 Jan 2012 23:05:51 +0000 (+0000) Subject: Ecore_Evas (wayland_egl): Does not make sense to reset the surface of X-Git-Tag: 2.0_alpha~86^2~38 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=78dce1051a2ab4fad3bc37246571398043204b98;p=framework%2Fuifw%2Fecore.git Ecore_Evas (wayland_egl): Does not make sense to reset the surface of the evas engine here, as the evas engine is going to be free'd right after this. git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@67156 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/src/lib/ecore_evas/ecore_evas_wayland_egl.c b/src/lib/ecore_evas/ecore_evas_wayland_egl.c index c7b3be0..cded2e6 100644 --- a/src/lib/ecore_evas/ecore_evas_wayland_egl.c +++ b/src/lib/ecore_evas/ecore_evas_wayland_egl.c @@ -339,17 +339,10 @@ _ecore_evas_wl_pre_free(Ecore_Evas *ee) static void _ecore_evas_wl_free(Ecore_Evas *ee) { - Evas_Engine_Info_Wayland_Egl *einfo; - LOGFN(__FILE__, __LINE__, __FUNCTION__); if (ee) { - /* get engine info */ - einfo = (Evas_Engine_Info_Wayland_Egl *)evas_engine_info_get(ee->evas); - einfo->info.surface = NULL; - evas_engine_info_set(ee->evas, (Evas_Engine_Info *)einfo); - /* destroy shell surface */ if (ee->engine.wl.shell_surface) wl_shell_surface_destroy(ee->engine.wl.shell_surface);