stanluk pushed a commit to branch master.

http://git.enlightenment.org/core/elementary.git/commit/?id=8be5e9bba1a6f901b34e3a30c2e7caddaea7301f

commit 8be5e9bba1a6f901b34e3a30c2e7caddaea7301f
Author: Lukasz Stanislawski <[email protected]>
Date:   Fri Aug 8 11:05:18 2014 +0200

    atspi: remove EAPI from elm_atspi_text_text_attribute_free
    
    Issue reported by Stefan Schmidt. Above atspi function had EAPI attribute
    defined in implementation file, however this symbol should not be public in
    elementary 1.11.
---
 src/lib/elm_interface_atspi_text.c |  2 +-
 src/tests/elm_test_entry.c         | 31 -------------------------------
 2 files changed, 1 insertion(+), 32 deletions(-)

diff --git a/src/lib/elm_interface_atspi_text.c 
b/src/lib/elm_interface_atspi_text.c
index afab4d5..39e0e77 100644
--- a/src/lib/elm_interface_atspi_text.c
+++ b/src/lib/elm_interface_atspi_text.c
@@ -11,7 +11,7 @@
 #include "elm_interface_atspi_text.h"
 #include "elm_interface_atspi_text.eo.h"
 
-EAPI void
+void
 elm_atspi_text_text_attribute_free(Elm_Atspi_Text_Attribute *attr)
 {
    if (!attr) return;
diff --git a/src/tests/elm_test_entry.c b/src/tests/elm_test_entry.c
index 8c70c58..87e17e6 100644
--- a/src/tests/elm_test_entry.c
+++ b/src/tests/elm_test_entry.c
@@ -335,36 +335,6 @@ START_TEST (elm_entry_atspi_text_selections)
 }
 END_TEST
 
-START_TEST (elm_entry_atspi_text_attributes)
-{
-   Evas_Object *win, *entry;
-   Eina_List *formats;
-   const char txt[] = "<font_weight=Bold>Lorem ipśum<br></>  dolor sit\n amęt";
-   int start = 0, end = sizeof(txt);
-   Elm_Atspi_Text_Attribute *attr;
-
-   elm_init(1, NULL);
-   win = elm_win_add(NULL, "entry", ELM_WIN_BASIC);
-
-   entry = elm_entry_add(win);
-   elm_object_text_set(entry, txt);
-
-   eo_do(entry, formats = elm_interface_atspi_text_attributes_get(&start, 
&end));
-   EINA_LIST_FREE(formats, attr)
-     {
-        elm_atspi_text_text_attribute_free(attr);
-     }
-
-   eo_do(entry, formats = elm_interface_atspi_text_default_attributes_get());
-   EINA_LIST_FREE(formats, attr)
-     {
-        elm_atspi_text_text_attribute_free(attr);
-     }
-
-   elm_shutdown();
-}
-END_TEST
-
 START_TEST (elm_atspi_role_get)
 {
    Evas_Object *win, *entry;
@@ -393,6 +363,5 @@ void elm_test_entry(TCase *tc)
    tcase_add_test(tc, elm_entry_atspi_text_string_get_line);
    tcase_add_test(tc, elm_entry_atspi_text_text_get);
    tcase_add_test(tc, elm_entry_atspi_text_selections);
-   tcase_add_test(tc, elm_entry_atspi_text_attributes);
    tcase_add_test(tc, elm_atspi_role_get);
 }

-- 


Reply via email to