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:
7a96626
)
elementary/ctxpopup - trivial changes.
author
ChunEon Park
<hermet@hermet.pe.kr>
Wed, 31 Aug 2011 15:33:54 +0000
(15:33 +0000)
committer
ChunEon Park
<hermet@hermet.pe.kr>
Wed, 31 Aug 2011 15:33:54 +0000
(15:33 +0000)
SVN revision: 63036
src/lib/elc_ctxpopup.c
patch
|
blob
|
history
diff --git
a/src/lib/elc_ctxpopup.c
b/src/lib/elc_ctxpopup.c
index
0ede381
..
34879ad
100644
(file)
--- a/
src/lib/elc_ctxpopup.c
+++ b/
src/lib/elc_ctxpopup.c
@@
-1290,6
+1290,7
@@
elm_ctxpopup_item_append(Evas_Object *obj, const char *label,
ELM_CHECK_WIDTYPE(obj, widtype) NULL;
Widget_Data *wd;
+ Evas_Object *content;
Elm_Ctxpopup_Item *item;
wd = elm_widget_data_get(obj);
@@
-1299,8
+1300,8
@@
elm_ctxpopup_item_append(Evas_Object *obj, const char *label,
if (!item) return NULL;
//The first item is appended.
- if (wd->content)
-
evas_object_del(elm_object_content_unset(obj)
);
+ content = elm_object_content_unset(obj);
+
if (content) evas_object_del(content
);
if (!wd->items)
_list_new(obj);