efl_ui_radio: refactor for usage of efl_ui_check_selected
authorMarcel Hollerbach <mail@marcel-hollerbach.de>
Thu, 30 May 2019 20:15:19 +0000 (22:15 +0200)
committerJongmin Lee <jm105.lee@samsung.com>
Wed, 26 Jun 2019 01:39:55 +0000 (10:39 +0900)
commitb580c4a0a8245a887fbf4852a5ec1377fafaaffd
tree42e3ef0bc3cdf3e7d0aad868b36253efdfe9185f
parent254753991eba6b4ad0b77a62f5e8ea2b39d2a421
efl_ui_radio: refactor for usage of efl_ui_check_selected

in previous versions of this widget, the calls that are available due to
inheritance did not work. efl_ui_check_selected_set did not work on a
radio button. However, the internal function _state_set did just exactly
that. So this commit refactors the activity emitting out of the
function, so the _state_set function can just be used as the
efl_ui_check_selected set function.

Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Differential Revision: https://phab.enlightenment.org/D9059
src/bin/elementary/test_radio.c
src/lib/elementary/efl_ui_radio.c
src/lib/elementary/efl_ui_radio.eo