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);
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;