projects
/
platform
/
upstream
/
elementary.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c7defb
)
Tooltip: reset content delete callback directly after invocation
author
Daniel Zaoui
<daniel.zaoui@samsung.com>
Wed, 5 Aug 2015 07:22:02 +0000
(10:22 +0300)
committer
Daniel Zaoui
<daniel.zaoui@samsung.com>
Wed, 5 Aug 2015 07:41:38 +0000
(10:41 +0300)
The deletion of the content object can lead to invoke the delete
callback twice.
@fix
src/lib/els_tooltip.c
patch
|
blob
|
history
diff --git
a/src/lib/els_tooltip.c
b/src/lib/els_tooltip.c
index
9b0193e
..
32a8dca
100644
(file)
--- a/
src/lib/els_tooltip.c
+++ b/
src/lib/els_tooltip.c
@@
-792,11
+792,10
@@
static void
_elm_tooltip_data_clean(Elm_Tooltip *tt)
{
if (tt->del_cb) tt->del_cb((void *)tt->data, tt->owner, NULL);
+ tt->del_cb = NULL;
+ tt->data = NULL;
_elm_tooltip_content_del(tt);
-
- tt->data = NULL;
- tt->del_cb = NULL;
}
EAPI void