diff options
author | Christopher Michael <cpmichael1@comcast.net> | 2006-01-25 04:06:51 +0000 |
---|---|---|
committer | Christopher Michael <cpmichael1@comcast.net> | 2006-01-25 04:06:51 +0000 |
commit | 36aa7e2d7005c0da010f34c8b56f8bc9bf3e2048 (patch) | |
tree | 627c7e77fa63166a0ce85e769b806c6edba8aca2 /src/bin/e_ilist.c | |
parent | 02bfb82b01ea2566af3f1dfc4a930c92ad0cd944 (diff) | |
download | enlightenment-36aa7e2d7005c0da010f34c8b56f8bc9bf3e2048.tar.gz |
Add some functions to e_ilist and e_widget_ilist.c . Fix commented
unused variables (just removed them). Added Cursor Settings and Startup
Settings dialogue. Removed General Settings dialog.
SVN revision: 20020
Diffstat (limited to 'src/bin/e_ilist.c')
-rw-r--r-- | src/bin/e_ilist.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/bin/e_ilist.c b/src/bin/e_ilist.c index fb2db8d47c..78d1ac024d 100644 --- a/src/bin/e_ilist.c +++ b/src/bin/e_ilist.c @@ -296,6 +296,21 @@ e_ilist_count(Evas_Object *obj) return evas_list_count(sd->items); } +EAPI void +e_ilist_clear(Evas_Object *obj) +{ + INTERNAL_ENTRY; + while (sd->items) + { + E_Smart_Item *si; + + si = sd->items->data; + sd->items = evas_list_remove_list(sd->items, sd->items); + if (si->icon_obj) evas_object_del(si->icon_obj); + evas_object_del(si->base_obj); + free(si); + } +} /* local subsystem functions */ static void |