aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/efl_mono/libefl_mono_native_test.c
diff options
context:
space:
mode:
authorLauro Moura <lauromoura@expertisesolutions.com.br>2019-05-07 13:44:23 +0200
committerXavi Artigas <xavierartigas@yahoo.es>2019-05-07 13:53:39 +0200
commit3a570c38c99a4db729cded66c2e23c62cc3b033a (patch)
tree1ab4bd79493f65fe178e62cd5a3477f282d189b1 /src/tests/efl_mono/libefl_mono_native_test.c
parenteina_file: speed up listing of directories on Windows (diff)
downloadefl-3a570c38c99a4db729cded66c2e23c62cc3b033a.tar.gz
csharp: Add Part suffix for the part wrappers
Reviewers: segfaultxavi Reviewed By: segfaultxavi Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8835
Diffstat (limited to 'src/tests/efl_mono/libefl_mono_native_test.c')
-rw-r--r--src/tests/efl_mono/libefl_mono_native_test.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/tests/efl_mono/libefl_mono_native_test.c b/src/tests/efl_mono/libefl_mono_native_test.c
index 52d9190994..0201a6a026 100644
--- a/src/tests/efl_mono/libefl_mono_native_test.c
+++ b/src/tests/efl_mono/libefl_mono_native_test.c
@@ -92,8 +92,8 @@ typedef struct Dummy_Child_Data
typedef struct Dummy_Part_Holder_Data
{
- Eo *part_one;
- Eo *part_two;
+ Eo *one;
+ Eo *two;
} Dummy_Part_Holder_Data;
typedef struct Dummy_Inherit_Helper_Data
@@ -4057,8 +4057,8 @@ _dummy_part_holder_efl_object_constructor(Eo *obj, Dummy_Part_Holder_Data *pd)
// To avoid an infinite loop calling the same constructor
if (!efl_parent_get(obj))
{
- pd->part_one = efl_add(DUMMY_TEST_OBJECT_CLASS, obj, efl_name_set(efl_added, "part_one"));
- pd->part_two = efl_add(DUMMY_TEST_OBJECT_CLASS, obj, efl_name_set(efl_added, "part_two"));
+ pd->one = efl_add(DUMMY_TEST_OBJECT_CLASS, obj, efl_name_set(efl_added, "part_one"));
+ pd->two = efl_add(DUMMY_TEST_OBJECT_CLASS, obj, efl_name_set(efl_added, "part_two"));
}
return obj;
@@ -4066,10 +4066,10 @@ _dummy_part_holder_efl_object_constructor(Eo *obj, Dummy_Part_Holder_Data *pd)
Efl_Object *_dummy_part_holder_efl_part_part_get(EINA_UNUSED const Eo *obj, Dummy_Part_Holder_Data *pd, const char *name)
{
- if (!strcmp(name, "part_one"))
- return pd->part_one;
- else if (!strcmp(name, "part_two"))
- return pd->part_two;
+ if (!strcmp(name, "one"))
+ return pd->one;
+ else if (!strcmp(name, "two"))
+ return pd->two;
else
return NULL;
}