summaryrefslogtreecommitdiff
path: root/src/bin/e_ilist.c
diff options
context:
space:
mode:
authorChristopher Michael <cpmichael1@comcast.net>2006-01-25 04:06:51 +0000
committerChristopher Michael <cpmichael1@comcast.net>2006-01-25 04:06:51 +0000
commit36aa7e2d7005c0da010f34c8b56f8bc9bf3e2048 (patch)
tree627c7e77fa63166a0ce85e769b806c6edba8aca2 /src/bin/e_ilist.c
parent02bfb82b01ea2566af3f1dfc4a930c92ad0cd944 (diff)
downloadenlightenment-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.c15
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