projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
23709b4
)
efl: let's preperly clean pointer when we delete stuff.
author
Cedric BAIL
<cedric.bail@free.fr>
Fri, 11 Jan 2013 08:31:09 +0000
(08:31 +0000)
committer
Cedric BAIL
<cedric.bail@free.fr>
Fri, 11 Jan 2013 08:31:09 +0000
(08:31 +0000)
SVN revision: 82621
src/lib/evas/canvas/evas_object_text.c
patch
|
blob
|
history
diff --git
a/src/lib/evas/canvas/evas_object_text.c
b/src/lib/evas/canvas/evas_object_text.c
index
7e58ef3
..
33b326f
100644
(file)
--- a/
src/lib/evas/canvas/evas_object_text.c
+++ b/
src/lib/evas/canvas/evas_object_text.c
@@
-142,6
+142,11
@@
_evas_object_text_item_clean(Evas_Object_Text_Item *it)
static void
_evas_object_text_item_del(Evas_Object_Text *o, Evas_Object_Text_Item *it)
{
+ if (o->last_computed.ellipsis_start == it)
+ o->last_computed.ellipsis_start = NULL;
+ else if (o->last_computed.ellipsis_end == it)
+ o->last_computed.ellipsis_end = NULL;
+
o->items = (Evas_Object_Text_Item *) eina_inlist_remove(
EINA_INLIST_GET(o->items),
EINA_INLIST_GET(it));