Try to get the Evas public data from eo.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 83235
This commit is contained in:
Christopher Michael 2013-01-24 09:15:59 +00:00 committed by Christopher Michael
parent 98e58d34a1
commit 1e41dcd37f
1 changed files with 5 additions and 0 deletions

View File

@ -86,11 +86,16 @@ static int
eng_setup(Evas *eo_evas, void *einfo)
{
Evas_Engine_Info_Wayland_Shm *info;
Evas_Public_Data *epd;
/* try to cast the engine info to our engine info */
if (!(info = (Evas_Engine_Info_Wayland_Shm *)einfo))
return 0;
/* try to get evas public data from the canvas */
if (!(epd = eo_data_get(eo_evas, EVAS_CLASS)))
return 0;
return 0;
}