Evas dev: Fixed usage of uninitialized variable.

This commit is contained in:
Tom Hacohen 2013-04-12 15:17:19 +01:00
parent 263e54d705
commit 882b7a72eb
1 changed files with 1 additions and 1 deletions

View File

@ -138,7 +138,7 @@ evas_device_parent_set(Evas_Device *dev, Evas_Device *parent)
MAGIC_CHECK(dev, Evas_Device, MAGIC_DEV);
return;
MAGIC_CHECK_END();
Evas_Public_Data *e = eo_data_get(e->evas, EVAS_CLASS);
Evas_Public_Data *e = eo_data_get(dev->evas, EVAS_CLASS);
if (parent)
{
MAGIC_CHECK(parent, Evas_Device, MAGIC_DEV);