efl_page_indicator_icon: remove unnecessary function
invalidate function is not necessary since each item is deleted when it's parent (box) is deleted.
This commit is contained in:
parent
591f18f2af
commit
92dbe39ba2
|
@ -130,18 +130,6 @@ _efl_page_indicator_icon_efl_page_indicator_bind(Eo *obj,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
EOLIAN static void
|
|
||||||
_efl_page_indicator_icon_efl_object_invalidate(Eo *obj,
|
|
||||||
Efl_Page_Indicator_Icon_Data *pd)
|
|
||||||
{
|
|
||||||
Eo *item;
|
|
||||||
|
|
||||||
EINA_LIST_FREE(pd->items, item)
|
|
||||||
efl_del(item);
|
|
||||||
|
|
||||||
efl_invalidate(efl_super(obj, MY_CLASS));
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
#define EFL_PAGE_INDICATOR_ICON_EXTRA_OPS \
|
#define EFL_PAGE_INDICATOR_ICON_EXTRA_OPS \
|
||||||
EFL_OBJECT_OP_FUNC(efl_page_indicator_update, \
|
EFL_OBJECT_OP_FUNC(efl_page_indicator_update, \
|
||||||
|
|
|
@ -7,7 +7,6 @@ class Efl.Page.Indicator_Icon extends Efl.Page.Indicator
|
||||||
arrange them in a linear order. An icon has two states: default and selected.
|
arrange them in a linear order. An icon has two states: default and selected.
|
||||||
]]
|
]]
|
||||||
implements {
|
implements {
|
||||||
Efl.Object.invalidate;
|
|
||||||
Efl.Page.Indicator.bind;
|
Efl.Page.Indicator.bind;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue