summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukasz Stanislawski <l.stanislaws@samsung.com>2015-10-02 11:35:27 +0200
committerLukasz Stanislawski <l.stanislaws@samsung.com>2015-10-02 11:41:02 +0200
commitd1488623ca8cc91da5da95bc0e933f81ba83fc50 (patch)
tree5e3e668cacd74e0e7fae88b8fd2f65dcac31a6a8
parent3035b44231d992ae9d66fdca3e83560825a004b1 (diff)
widget_item: emit atspi children-changed only for non-destroyed parent.
-rw-r--r--src/lib/elm_interface_atspi_accessible.c2
-rw-r--r--src/lib/elm_widget.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/elm_interface_atspi_accessible.c b/src/lib/elm_interface_atspi_accessible.c
index 5bfb80e64..483a35f50 100644
--- a/src/lib/elm_interface_atspi_accessible.c
+++ b/src/lib/elm_interface_atspi_accessible.c
@@ -300,7 +300,7 @@ _elm_interface_atspi_accessible_event_emit(Eo *class EINA_UNUSED, void *pd EINA_
300 300
301 if (!accessible || !event || !eo_isa(accessible, ELM_INTERFACE_ATSPI_ACCESSIBLE_MIXIN)) 301 if (!accessible || !event || !eo_isa(accessible, ELM_INTERFACE_ATSPI_ACCESSIBLE_MIXIN))
302 { 302 {
303 CRI("Invalid accessibility event emit parameters"); 303 CRI("Invalid parameters, event: %s, obj: %s", event ? event->name : "NULL", accessible ? eo_class_name_get(accessible) : "NULL");
304 return; 304 return;
305 } 305 }
306 306
diff --git a/src/lib/elm_widget.c b/src/lib/elm_widget.c
index a8f5174af..b14a62545 100644
--- a/src/lib/elm_widget.c
+++ b/src/lib/elm_widget.c
@@ -4434,7 +4434,7 @@ _elm_widget_item_eo_base_destructor(Eo *eo_item, Elm_Widget_Item_Data *item)
4434 eo_do(eo_item, elm_interface_atspi_accessible_description_set(NULL)); 4434 eo_do(eo_item, elm_interface_atspi_accessible_description_set(NULL));
4435 eo_do(eo_item, elm_interface_atspi_accessible_name_set(NULL)); 4435 eo_do(eo_item, elm_interface_atspi_accessible_name_set(NULL));
4436 4436
4437 if (_elm_config->atspi_mode) 4437 if (_elm_config->atspi_mode && item->widget)
4438 elm_interface_atspi_accessible_children_changed_del_signal_emit(item->widget, eo_item); 4438 elm_interface_atspi_accessible_children_changed_del_signal_emit(item->widget, eo_item);
4439 4439
4440 elm_interface_atspi_accessible_removed(eo_item); 4440 elm_interface_atspi_accessible_removed(eo_item);