slider: code refactoring in widget_event func
authorJaeun Choi <jaeun12.choi@samsung.com>
Fri, 18 Apr 2014 02:45:13 +0000 (11:45 +0900)
committerChunEon Park <hermet@hermet.pe.kr>
Fri, 18 Apr 2014 02:45:13 +0000 (11:45 +0900)
commit6c08bf23e9a29cd5449d14072460af0dffd7ea61
tree90b750772aa4afeaf0aab9a59b5ea089383d713b
parent78bafbba452544eee8e722c0e84a9155da4af043
slider: code refactoring in widget_event func

Summary:
This patch improves maintainability and readability through code refactoring.
- complete branch statement instead of goto statement
- removed unnecessary codes

Test Plan: None

Reviewers: Hermet, raster

Reviewed By: Hermet

Differential Revision: https://phab.enlightenment.org/D758
src/lib/elm_slider.c