summaryrefslogtreecommitdiff
path: root/src/lib/elementary/elm_interface_atspi_accessible.c
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@osg.samsung.com>2016-05-17 17:14:47 +0100
committerDaniel Kolesa <d.kolesa@osg.samsung.com>2016-05-17 17:50:43 +0100
commit7782c0bcb956263e4b58b9ee5640381fe7b3c4f9 (patch)
tree42845dcc2450ec2815c320379c83c2017fda4f57 /src/lib/elementary/elm_interface_atspi_accessible.c
parentf007380fb948f426d04778965ec4d192fe953cc2 (diff)
eolian: add event_prefix and have classes follow that or eo_prefix by default
Previously events used to use class name as a prefix and ignored eo_prefix when specified. This is no longer the case. Events follow eo_prefix by default now. In order to get around this for classes where this is undesirable, a new field event_prefix was added which takes priority over eo_prefix. If neither is specified, class name is used like previously. @feature
Diffstat (limited to '')
-rw-r--r--src/lib/elementary/elm_interface_atspi_accessible.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/elementary/elm_interface_atspi_accessible.c b/src/lib/elementary/elm_interface_atspi_accessible.c
index 75853fa348..bccb2d38ed 100644
--- a/src/lib/elementary/elm_interface_atspi_accessible.c
+++ b/src/lib/elementary/elm_interface_atspi_accessible.c
@@ -454,7 +454,7 @@ elm_atspi_relation_set_relation_append(Elm_Atspi_Relation_Set *set, Elm_Atspi_Re
454 if (!eina_list_data_find(rel->objects, rel_obj)) 454 if (!eina_list_data_find(rel->objects, rel_obj))
455 { 455 {
456 rel->objects = eina_list_append(rel->objects, rel_obj); 456 rel->objects = eina_list_append(rel->objects, rel_obj);
457 eo_event_callback_add((Eo *) rel_obj, EO_BASE_EVENT_DEL, _on_rel_obj_del, set); 457 eo_event_callback_add((Eo *) rel_obj, EO_EVENT_DEL, _on_rel_obj_del, set);
458 } 458 }
459 return EINA_TRUE; 459 return EINA_TRUE;
460 } 460 }
@@ -467,7 +467,7 @@ elm_atspi_relation_set_relation_append(Elm_Atspi_Relation_Set *set, Elm_Atspi_Re
467 rel->objects = eina_list_append(rel->objects, rel_obj); 467 rel->objects = eina_list_append(rel->objects, rel_obj);
468 *set = eina_list_append(*set, rel); 468 *set = eina_list_append(*set, rel);
469 469
470 eo_event_callback_add((Eo *) rel_obj, EO_BASE_EVENT_DEL, _on_rel_obj_del, set); 470 eo_event_callback_add((Eo *) rel_obj, EO_EVENT_DEL, _on_rel_obj_del, set);
471 return EINA_TRUE; 471 return EINA_TRUE;
472} 472}
473 473
@@ -483,7 +483,7 @@ elm_atspi_relation_set_relation_remove(Elm_Atspi_Relation_Set *set, Elm_Atspi_Re
483 { 483 {
484 if (eina_list_data_find(rel->objects, rel_obj)) 484 if (eina_list_data_find(rel->objects, rel_obj))
485 { 485 {
486 eo_event_callback_del((Eo *) rel_obj, EO_BASE_EVENT_DEL, _on_rel_obj_del, set); 486 eo_event_callback_del((Eo *) rel_obj, EO_EVENT_DEL, _on_rel_obj_del, set);
487 rel->objects = eina_list_remove(rel->objects, rel_obj); 487 rel->objects = eina_list_remove(rel->objects, rel_obj);
488 } 488 }
489 if (!rel->objects) 489 if (!rel->objects)
@@ -508,7 +508,7 @@ elm_atspi_relation_set_relation_type_remove(Elm_Atspi_Relation_Set *set, Elm_Ats
508 if (rel->type == type) 508 if (rel->type == type)
509 { 509 {
510 EINA_LIST_FOREACH(rel->objects, l, obj) 510 EINA_LIST_FOREACH(rel->objects, l, obj)
511 eo_event_callback_del(obj, EO_BASE_EVENT_DEL, _on_rel_obj_del, set); 511 eo_event_callback_del(obj, EO_EVENT_DEL, _on_rel_obj_del, set);
512 *set = eina_list_remove(*set, rel); 512 *set = eina_list_remove(*set, rel);
513 elm_atspi_relation_free(rel); 513 elm_atspi_relation_free(rel);
514 return; 514 return;
@@ -526,7 +526,7 @@ elm_atspi_relation_set_free(Elm_Atspi_Relation_Set set)
526 EINA_LIST_FREE(set, rel) 526 EINA_LIST_FREE(set, rel)
527 { 527 {
528 EINA_LIST_FOREACH(rel->objects, l, obj) 528 EINA_LIST_FOREACH(rel->objects, l, obj)
529 eo_event_callback_del(obj, EO_BASE_EVENT_DEL, _on_rel_obj_del, set); 529 eo_event_callback_del(obj, EO_EVENT_DEL, _on_rel_obj_del, set);
530 elm_atspi_relation_free(rel); 530 elm_atspi_relation_free(rel);
531 } 531 }
532} 532}