summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorDaniel Hirt <hirt.danny@gmail.com>2017-09-18 19:33:42 +0300
committerDaniel Hirt <hirt.danny@gmail.com>2017-09-18 19:47:52 +0300
commit61db4947f479a22230e5d5d739f21c0d7f910c5f (patch)
tree781507bbd5fac097307da1efa8ab500e9a33345d /src/lib
parent97d150daad3748c06d9994703bbac4befc2c7ede (diff)
Edje load: reset seats counter on file_del
The seats list got emptied, but the counter progression was kept, causing needless different seat names for the same device across different edje objects.
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/edje/edje_load.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/edje/edje_load.c b/src/lib/edje/edje_load.c
index f1e5fc1..00f7b7a 100644
--- a/src/lib/edje/edje_load.c
+++ b/src/lib/edje/edje_load.c
@@ -2105,6 +2105,7 @@ _edje_file_del(Edje *ed)
2105 eina_stringshare_del(seat->name); 2105 eina_stringshare_del(seat->name);
2106 free(seat); 2106 free(seat);
2107 } 2107 }
2108 ed->seats_count = 0;
2108 } 2109 }
2109 2110
2110 if (ed->L) _edje_lua2_script_shutdown(ed); 2111 if (ed->L) _edje_lua2_script_shutdown(ed);