parent
35ccadac68
commit
37d1548228
|
@ -204,6 +204,9 @@ GenListItem *GenList::getItemSelected () const
|
||||||
{
|
{
|
||||||
Elm_Genlist_Item *item = elm_genlist_selected_item_get (o);
|
Elm_Genlist_Item *item = elm_genlist_selected_item_get (o);
|
||||||
|
|
||||||
|
if (!item)
|
||||||
|
return NULL;
|
||||||
|
|
||||||
const GenListColumnConstructor *construction = static_cast <const GenListColumnConstructor*> (elm_genlist_item_data_get (item));
|
const GenListColumnConstructor *construction = static_cast <const GenListColumnConstructor*> (elm_genlist_item_data_get (item));
|
||||||
|
|
||||||
return construction->mGenListItem;
|
return construction->mGenListItem;
|
||||||
|
@ -225,6 +228,9 @@ GenListItem *GenList::getItemFirst () const
|
||||||
{
|
{
|
||||||
Elm_Genlist_Item *item = elm_genlist_first_item_get (o);
|
Elm_Genlist_Item *item = elm_genlist_first_item_get (o);
|
||||||
|
|
||||||
|
if (!item)
|
||||||
|
return NULL;
|
||||||
|
|
||||||
const GenListColumnConstructor *construction = static_cast <const GenListColumnConstructor*> (elm_genlist_item_data_get (item));
|
const GenListColumnConstructor *construction = static_cast <const GenListColumnConstructor*> (elm_genlist_item_data_get (item));
|
||||||
|
|
||||||
return construction->mGenListItem;
|
return construction->mGenListItem;
|
||||||
|
@ -234,6 +240,9 @@ GenListItem *GenList::getItemLast () const
|
||||||
{
|
{
|
||||||
Elm_Genlist_Item *item = elm_genlist_last_item_get (o);
|
Elm_Genlist_Item *item = elm_genlist_last_item_get (o);
|
||||||
|
|
||||||
|
if (!item)
|
||||||
|
return NULL;
|
||||||
|
|
||||||
const GenListColumnConstructor *construction = static_cast <const GenListColumnConstructor*> (elm_genlist_item_data_get (item));
|
const GenListColumnConstructor *construction = static_cast <const GenListColumnConstructor*> (elm_genlist_item_data_get (item));
|
||||||
|
|
||||||
return construction->mGenListItem;
|
return construction->mGenListItem;
|
||||||
|
|
Loading…
Reference in New Issue