Ecore_Evas (wayland_egl): Does not make sense to reset the surface of
authordevilhorns <devilhorns@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 12 Jan 2012 23:05:51 +0000 (23:05 +0000)
committerdevilhorns <devilhorns@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 12 Jan 2012 23:05:51 +0000 (23:05 +0000)
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

src/lib/ecore_evas/ecore_evas_wayland_egl.c

index c7b3be0..cded2e6 100644 (file)
@@ -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);