Widget: Don't check if it's the correct class everywhere.
authorTom Hacohen <tom@stosb.com>
Mon, 6 Jan 2014 14:58:18 +0000 (14:58 +0000)
committerTom Hacohen <tom@stosb.com>
Mon, 6 Jan 2014 15:07:16 +0000 (15:07 +0000)
commitd095f784474c410970c7e57195bfed2e3a1d09e2
tree576e72814daf993fc41f9f5974dad18a23cd95df
parentfca13b634e294c5d0223cdc62d1311d8f1e9759e
Widget: Don't check if it's the correct class everywhere.

ELM_WIDGET_DATA_GET was checking it was the correct class. This is
stupid and wrong (and makes tools rightfully complain) because these
functions are implementations of that class anyway, so that would never
be false.
Functions that outside facing (that is, not called from eo_do) should
use API_ENTRY.
src/lib/elm_widget.c