forked from enlightenment/efl
elm popup,flipselector: removed unnecessary type casting and type check.
This commit is contained in:
parent
d4a181fb1c
commit
82ecdfbb25
|
@ -824,11 +824,7 @@ _item_signal_emit_hook(Elm_Object_Item *it,
|
|||
const char *emission,
|
||||
const char *source)
|
||||
{
|
||||
Elm_Popup_Item *item = (Elm_Popup_Item *)it;
|
||||
|
||||
ELM_POPUP_ITEM_CHECK_OR_RETURN(it);
|
||||
|
||||
edje_object_signal_emit(VIEW(item), emission, source);
|
||||
edje_object_signal_emit(VIEW(it), emission, source);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
@ -152,9 +152,7 @@ _item_signal_emit_hook(Elm_Object_Item *it,
|
|||
const char *emission,
|
||||
const char *source)
|
||||
{
|
||||
Elm_Flipselector_Item *item = (Elm_Flipselector_Item *)it;
|
||||
|
||||
edje_object_signal_emit(VIEW(item), emission, source);
|
||||
edje_object_signal_emit(VIEW(it), emission, source);
|
||||
}
|
||||
|
||||
static inline void
|
||||
|
|
Loading…
Reference in New Issue