summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2015-02-03 18:55:33 +0100
committerCedric BAIL <cedric@osg.samsung.com>2015-02-04 14:08:07 +0100
commit6a3971ec3d81285820cf9d7a7d7ac0f6adb06a2d (patch)
tree9451524d23db6d1b87926cd2147dc18b9e5e5eff
parente483d25082c6fea1e077bfe104d63d49dc8a6906 (diff)
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.
-rw-r--r--src/lib/edje/edje_load.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/edje/edje_load.c b/src/lib/edje/edje_load.c
index f55c5803bc..b411fb8412 100644
--- a/src/lib/edje/edje_load.c
+++ b/src/lib/edje/edje_load.c
@@ -1141,6 +1141,11 @@ _edje_file_add(Edje *ed, const Eina_File *f)
1141 ed->file = NULL; 1141 ed->file = NULL;
1142 } 1142 }
1143 } 1143 }
1144 else
1145 {
1146 // FIXME: it will be actually better to remove ed->path.
1147 ed->path = eina_stringshare_add(eina_file_filename_get(f));
1148 }
1144} 1149}
1145 1150
1146static int 1151static int