due to elm_genlist_item_object_get() is deprecated, I made a patch to
replace them to adequate apis. most of case is sending signal. Signed-off-by: Hyoyoung Chang <hyoyoung@gmail.com> SVN revision: 69314
This commit is contained in:
parent
ae12d9c09a
commit
74cda7c273
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue