elm_atspi: remove redundant null checking

The type is always _ADDED or _REMOVED, therefore atspi_desc
is always "add" or "remove"; no need to have null checking for it.
This commit is contained in:
Thiep Ha 2016-09-21 16:49:12 +09:00
parent c998fd5ee7
commit 401706351d
1 changed files with 0 additions and 6 deletions

View File

@ -3968,12 +3968,6 @@ _children_changed_signal_send(void *data, const Efl_Event *event)
break;
}
if (!atspi_desc)
{
efl_event_callback_stop(event->object);
return;
}
_bridge_signal_send(data, event->object, ATSPI_DBUS_INTERFACE_EVENT_OBJECT,
&_event_obj_signals[ATSPI_OBJECT_EVENT_CHILDREN_CHANGED], atspi_desc,
idx, 0, "(so)", eldbus_connection_unique_name_get(pd->a11y_bus), ev_data->child);