summaryrefslogtreecommitdiff
path: root/src/tests/elementary/elm_test_prefs.c
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2018-04-27 14:59:04 +0200
committerStefan Schmidt <stefan@osg.samsung.com>2018-04-27 15:01:39 +0200
commit0cf63649c70a62c5035e5b743eac5d17034ef5b9 (patch)
treee7b6b6977a29718508ae772c23d1fe3880445e9a /src/tests/elementary/elm_test_prefs.c
parent18b6b1248d79627982390dbd3d2b11ce2e7f238e (diff)
downloadefl-0cf63649c70a62c5035e5b743eac5d17034ef5b9.tar.gz
tests: use a global win object in fork mode when using buffer engine
Summary: this avoids the creation of a new win object for each test ref T6864 Reviewers: stefan_schmidt, cedric Reviewed By: cedric Subscribers: cedric Maniphest Tasks: T6864 Differential Revision: https://phab.enlightenment.org/D5965
Diffstat (limited to 'src/tests/elementary/elm_test_prefs.c')
-rw-r--r--src/tests/elementary/elm_test_prefs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/elementary/elm_test_prefs.c b/src/tests/elementary/elm_test_prefs.c
index a881512cf9..64186e56ec 100644
--- a/src/tests/elementary/elm_test_prefs.c
+++ b/src/tests/elementary/elm_test_prefs.c
@@ -11,7 +11,7 @@ EFL_START_TEST (elm_prefs_legacy_type_check)
Evas_Object *win, *prefs;
const char *type;
- win = elm_win_add(NULL, "prefs", ELM_WIN_BASIC);
+ win = win_add(NULL, "prefs", ELM_WIN_BASIC);
prefs = elm_prefs_add(win);
@@ -35,7 +35,7 @@ EFL_START_TEST (elm_atspi_role_get)
Evas_Object *win, *prefs;
Efl_Access_Role role;
- win = elm_win_add(NULL, "prefs", ELM_WIN_BASIC);
+ win = win_add(NULL, "prefs", ELM_WIN_BASIC);
prefs = elm_prefs_add(win);
role = efl_access_object_role_get(prefs);