• Stefan Schmidt's avatar
    Revert "access: add API to get access object of given part" · a17d59c7
    Stefan Schmidt authored
    This reverts commit 57d77c90.
    
    We are in freeze right now and this is a new feature. Considering the access
    API is still in beta I might have let this slip by but its does not even build
    
    ../../../src/tests/elementary/elm_test_popup.c:27:1: error: conflicting types for ‘elm_object_part_access_object_get’
     START_TEST (elm_object_part_access_object_get)
     ^
    In file included from ../../../src/lib/elementary/Elementary.h:240:0,
                     from ../../../src/tests/elementary/elm_test_popup.c:6:
    ../../../src/lib/elementary/elm_object.h:521:54: note: previous declaration of ‘elm_object_part_access_object_get’ was here
     EAPI Evas_Object *elm_object_part_access_object_get(const Evas_Object *obj, const char *part);
                                                          ^
    ../../../src/tests/elementary/elm_test_popup.c: In function ‘elm_object_part_access_object_get’:
    ../../../src/tests/elementary/elm_test_popup.c:39:47: warning: passing argument 1 of ‘elm_object_part_access_object_get’ makes integer from pointer without a cast [-Wint-conversion]
        access = elm_object_part_access_object_get(popup, "access.title");
                                                   ^
    ../../../src/tests/elementary/elm_test_popup.c:27:1: note: expected ‘int’ but argument is of type ‘Evas_Object * {aka struct _Eo_Opaque *}’
     START_TEST (elm_object_part_access_object_get)
     ^
    ../../../src/tests/elementary/elm_test_popup.c:39:13: error: too many arguments to function ‘elm_object_part_access_object_get’
        access = elm_object_part_access_object_get(popup, "access.title");
                 ^
    ../../../src/tests/elementary/elm_test_popup.c:27:1: note: declared here
     START_TEST (elm_object_part_access_object_get)
     ^
    ../../../src/tests/elementary/elm_test_popup.c:39:11: error: void value not ignored as it ought to be
        access = elm_object_part_access_object_get(popup, "access.title");
               ^
    Makefile:43996: recipe for target 'tests/elementary/tests_elementary_elm_suite-elm_test_popup.o' failed
    make[5]: *** [tests/elementary/tests_elementary_elm_suite-elm_test_popup.o] Error 1
    
    If you still want this in make sure it actually can compile the tests you added.
    a17d59c7
Name
Last commit
Last update
cmakeconfig Loading commit data...
config Loading commit data...
data Loading commit data...
dbus-services Loading commit data...
doc Loading commit data...
licenses Loading commit data...
m4 Loading commit data...
old Loading commit data...
pc Loading commit data...
pkgbuild Loading commit data...
po Loading commit data...
spec Loading commit data...
src Loading commit data...
systemd-services Loading commit data...
.arcconfig Loading commit data...
.gitignore Loading commit data...
.lcov-config Loading commit data...
.mailmap Loading commit data...
AUTHORS Loading commit data...
COMPLIANCE Loading commit data...
COPYING Loading commit data...
COPYING.images Loading commit data...
ChangeLog Loading commit data...
Makefile.am Loading commit data...
Makefile_Elm_Helpers.am Loading commit data...
NEWS Loading commit data...
NOTES Loading commit data...
README Loading commit data...
autogen.sh Loading commit data...
configure.ac Loading commit data...
elm_intro.h.in Loading commit data...