diff --git a/elementaryxx/include/elementaryxx/GenList.h b/elementaryxx/include/elementaryxx/GenList.h index 98a2ac0..7e18375 100644 --- a/elementaryxx/include/elementaryxx/GenList.h +++ b/elementaryxx/include/elementaryxx/GenList.h @@ -66,7 +66,7 @@ class GenListColumnSelector; * realized - This is called when the item in the list is created as a real * evas object. event_info parameter is the genlist item that was created. * The object may be deleted at any time, so it is up to the caller to - * not use the object pointer from elm_genlist_item_object_get() in a way + * not use the object pointer from elm_object_item_part_content_get() in a way * where it may point to freed objects. * * drag,start,up - This is called when the item in the list has been dragged diff --git a/elementaryxx/include/elementaryxx/GenListItem.h b/elementaryxx/include/elementaryxx/GenListItem.h index acf4e1a..0c1e289 100644 --- a/elementaryxx/include/elementaryxx/GenListItem.h +++ b/elementaryxx/include/elementaryxx/GenListItem.h @@ -36,8 +36,6 @@ public: void bringIn (Elm_Genlist_Item_Scrollto_Type type); void update (); - const Evasxx::Object *getEvasObject (); - static GenListItem *wrap (Elm_Object_Item &item, GenDataModel &model); static GenListItem *objectLink (const Elm_Object_Item *item); diff --git a/elementaryxx/src/GenListItem.cpp b/elementaryxx/src/GenListItem.cpp index 3ca0850..19ea490 100644 --- a/elementaryxx/src/GenListItem.cpp +++ b/elementaryxx/src/GenListItem.cpp @@ -87,12 +87,6 @@ void GenListItem::update () elm_genlist_item_update (mItem); } -const Evasxx::Object *GenListItem::getEvasObject () -{ - const Evas_Object *obj = elm_genlist_item_object_get (mItem); - return Evasxx::Object::objectLink (obj); -} - GenListItem *GenListItem::wrap (Elm_Object_Item &item, GenDataModel &model) { GenListItem *genItem = new GenListItem (&item);