edje: quick fix to guarantee that ed->path is always correctly set.

NOTE: It will be better to completly remove ed->path in favor of using ed->file->f,
but that would be way to intrusive for this release cycle.
This commit is contained in:
Cedric BAIL 2015-02-03 18:55:33 +01:00
parent e483d25082
commit 6a3971ec3d
1 changed files with 5 additions and 0 deletions

View File

@ -1141,6 +1141,11 @@ _edje_file_add(Edje *ed, const Eina_File *f)
ed->file = NULL;
}
}
else
{
// FIXME: it will be actually better to remove ed->path.
ed->path = eina_stringshare_add(eina_file_filename_get(f));
}
}
static int