elm_segment_control: fix invalid parameter
authorJean Guyomarc'h <jean.guyomarch@gmail.com>
Thu, 5 Nov 2015 07:12:44 +0000 (16:12 +0900)
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>
Thu, 5 Nov 2015 07:12:44 +0000 (16:12 +0900)
commit44cb457604bb324e448aeab24799498ea3b42d9f
tree485cd57ccddab925308bc0d9c486f920202c7d05
parent4ccb501a346133fbcc56238e107fbf55bf350433
elm_segment_control: fix invalid parameter

Summary:
Eo complained about an invalid type 'Edje_Object' passed to
elm_widget_sub_object_add(). It is the segment control itself
that should be the subject of the call to this function.

@fix

Test Plan: elementary_test: no more Eo errors

Reviewers: cedric, stefan_schmidt

Differential Revision: https://phab.enlightenment.org/D3277
src/lib/elm_segment_control.c