[Conformant] set conformant as data for callbacks 63/80763/2 accepted/tizen/common/20160721.175023 accepted/tizen/ivi/20160721.002554 accepted/tizen/mobile/20160721.002253 accepted/tizen/tv/20160721.002456 accepted/tizen/wearable/20160721.002419 submit/tizen/20160720.122528
authorSungtaek Hong <sth253.hong@samsung.com>
Wed, 20 Jul 2016 05:04:25 +0000 (14:04 +0900)
committerSungtaek Hong <sth253.hong@samsung.com>
Wed, 20 Jul 2016 05:11:36 +0000 (22:11 -0700)
Change-Id: I971e2ca98a9cbd0e3b8ef5e6ebec258ff34e0b33
Signed-off-by: Sungtaek Hong <sth253.hong@samsung.com>
src/lib/elm_conform.c

index 27bcfc8..6c1b250 100644 (file)
@@ -536,7 +536,7 @@ _create_portrait_indicator(Evas_Object *obj)
 
    elm_widget_sub_object_add(obj, port_indicator);
    eo_do(port_indicator, eo_event_callback_add
-     (ELM_PLUG_EVENT_IMAGE_DELETED, _port_indicator_disconnected, NULL));
+     (ELM_PLUG_EVENT_IMAGE_DELETED, _port_indicator_disconnected, obj));
    evas_object_size_hint_min_set(port_indicator, -1, 0);
    evas_object_size_hint_max_set(port_indicator, -1, 0);
 
@@ -578,7 +578,7 @@ _create_landscape_indicator(Evas_Object *obj)
 
    elm_widget_sub_object_add(obj, land_indicator);
    eo_do(land_indicator, eo_event_callback_add
-     (ELM_PLUG_EVENT_IMAGE_DELETED, _land_indicator_disconnected, NULL));
+     (ELM_PLUG_EVENT_IMAGE_DELETED, _land_indicator_disconnected, obj));
    evas_object_size_hint_min_set(land_indicator, -1, 0);
    evas_object_size_hint_max_set(land_indicator, -1, 0);
    return land_indicator;