projects
/
framework
/
uifw
/
elementary.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e9a6697
)
[popup] remove event handler when popup is deleted
author
Shinwoo Kim
<cinoo.kim@samsung.com>
Fri, 13 May 2011 05:54:40 +0000
(14:54 +0900)
committer
Shinwoo Kim
<cinoo.kim@samsung.com>
Fri, 13 May 2011 05:54:40 +0000
(14:54 +0900)
Change-Id: I379235ed42fc33e637355d691a7b25a20908f77d
src/lib/elm_popup.c
patch
|
blob
|
history
diff --git
a/src/lib/elm_popup.c
b/src/lib/elm_popup.c
index
0d92988
..
496e579
100644
(file)
--- a/
src/lib/elm_popup.c
+++ b/
src/lib/elm_popup.c
@@
-56,8
+56,16
@@
static void
_del_hook(Evas_Object *obj)
{
Widget_Data *wd = elm_widget_data_get(obj);
-
if (!wd) return;
+
+#ifdef HAVE_ELEMENTARY_X
+ if(wd->wnd_map_handler)
+ {
+ ecore_event_handler_del(wd->wnd_map_handler);
+ wd->wnd_map_handler = NULL;
+ }
+#endif
+
free(wd);
}