diff options
author | Cedric BAIL <cedric@osg.samsung.com> | 2018-03-15 12:50:20 -0400 |
---|---|---|
committer | Cedric Bail <cedric@osg.samsung.com> | 2018-03-20 17:20:56 -0700 |
commit | 4c4177ac207f982de8139c47c7afedd26ff9e15a (patch) | |
tree | 1913e890dc525621f4dec3ce281b340d81608a72 /src/tests/efl_mono | |
parent | a1bf513920e813037756e01cc2e01770befea77c (diff) | |
download | efl-4c4177ac207f982de8139c47c7afedd26ff9e15a.tar.gz |
efl: use efl_add_ref to create objects which have no parent
Signed-off-by: Mike Blumenkrantz <zmike@osg.samsung.com>
Diffstat (limited to 'src/tests/efl_mono')
-rw-r--r-- | src/tests/efl_mono/libefl_mono_native_test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/efl_mono/libefl_mono_native_test.c b/src/tests/efl_mono/libefl_mono_native_test.c index 19fe984022..8981a042aa 100644 --- a/src/tests/efl_mono/libefl_mono_native_test.c +++ b/src/tests/efl_mono/libefl_mono_native_test.c @@ -85,7 +85,7 @@ char **_new_str_ref(const char* str) static Test_Numberwrapper *_new_obj(int n) { - return efl_add(TEST_NUMBERWRAPPER_CLASS, NULL, test_numberwrapper_number_set(efl_added, n)); + return efl_add_ref(TEST_NUMBERWRAPPER_CLASS, NULL, test_numberwrapper_number_set(efl_added, n)); } static |