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:
22ff42f
)
elm test_hoversel.c: Remove unset icons.
author
Daniel Juyung Seo
<seojuyung2@gmail.com>
Mon, 3 Dec 2012 16:26:46 +0000
(16:26 +0000)
committer
Daniel Juyung Seo
<seojuyung2@gmail.com>
Mon, 3 Dec 2012 16:26:46 +0000
(16:26 +0000)
SVN revision: 80080
src/bin/test_hoversel.c
patch
|
blob
|
history
diff --git
a/src/bin/test_hoversel.c
b/src/bin/test_hoversel.c
index
7c227f6
..
ff6e726
100644
(file)
--- a/
src/bin/test_hoversel.c
+++ b/
src/bin/test_hoversel.c
@@
-26,6
+26,8
@@
typedef enum _api_state api_state;
static void
set_api_state(api_data *api)
{
+ Evas_Object *icon;
+
const Eina_List *items = elm_box_children_get(api->box);
if (!eina_list_count(items))
return;
@@
-49,7
+51,8
@@
set_api_state(api_data *api)
case HOVERSEL_ICON_UNSET: /* 3 */
elm_object_text_set(eina_list_nth(items, 5), "Label only");
- elm_object_part_content_unset(eina_list_nth(items, 5), "icon");
+ icon = elm_object_part_content_unset(eina_list_nth(items, 5), "icon");
+ evas_object_del(icon);
break;
case HOVERSEL_CLEAR_OPEN: /* 4 */