From 0cf63649c70a62c5035e5b743eac5d17034ef5b9 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Fri, 27 Apr 2018 14:59:04 +0200 Subject: 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 --- src/tests/elementary/elm_test_prefs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/tests/elementary/elm_test_prefs.c') 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); -- cgit v1.2.1