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:
8795e00
)
Revert "elementary/ctxpopup - but there would be no parent NULL case."
author
Daniel Juyung Seo
<seojuyung2@gmail.com>
Tue, 22 May 2012 08:08:16 +0000
(08:08 +0000)
committer
Daniel Juyung Seo
<seojuyung2@gmail.com>
Tue, 22 May 2012 08:08:16 +0000
(08:08 +0000)
There is a case that parent can be NULL when you call
elm_ctxpopup_add().
This reverts commit
8bc665a6ebc9daf0d5faa46223635f46f3d0f682
.
SVN revision: 71305
src/lib/elc_ctxpopup.c
patch
|
blob
|
history
diff --git
a/src/lib/elc_ctxpopup.c
b/src/lib/elc_ctxpopup.c
index
fb4bf1b
..
4d5c87c
100644
(file)
--- a/
src/lib/elc_ctxpopup.c
+++ b/
src/lib/elc_ctxpopup.c
@@
-215,7
+215,7
@@
static void
_parent_cut_off(Evas_Object *obj)
{
Widget_Data *wd = elm_widget_data_get(obj);
- if (!wd) return;
+ if (!wd
|| !wd->parent
) return;
evas_object_event_callback_del_full(wd->parent,
EVAS_CALLBACK_DEL,