summaryrefslogtreecommitdiff
path: root/src/tests/elementary/elm_test_ctxpopup.c
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2018-03-06 23:43:06 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2018-03-07 02:32:15 +0900
commit9c8749b99a03d3601321da6d16071dd7b631d1ae (patch)
tree1baee8a41dfe32bd6bb2f155564ae04c08fb086b /src/tests/elementary/elm_test_ctxpopup.c
parent6865ad177368cdc54b587ab0979f39b20ff61552 (diff)
ecore - go back to args 0 being the command and 1+ being actual args
so this is then inconsistent with efl.exe and efl.thread, so go back to being normal with 0'th arg being the binary itself jsut to make sure we have conistent usage.
Diffstat (limited to '')
-rw-r--r--src/tests/elementary/elm_test_ctxpopup.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/tests/elementary/elm_test_ctxpopup.c b/src/tests/elementary/elm_test_ctxpopup.c
index 7515ac0..d0b5890 100644
--- a/src/tests/elementary/elm_test_ctxpopup.c
+++ b/src/tests/elementary/elm_test_ctxpopup.c
@@ -11,7 +11,8 @@ START_TEST (elm_ctxpopup_legacy_type_check)
11 Evas_Object *win, *ctxpopup; 11 Evas_Object *win, *ctxpopup;
12 const char *type; 12 const char *type;
13 13
14 elm_init(1, NULL); 14 char *args[] = { "exe" };
15 elm_init(1, args);
15 win = elm_win_add(NULL, "ctxpopup", ELM_WIN_BASIC); 16 win = elm_win_add(NULL, "ctxpopup", ELM_WIN_BASIC);
16 17
17 ctxpopup = elm_ctxpopup_add(win); 18 ctxpopup = elm_ctxpopup_add(win);
@@ -33,7 +34,8 @@ START_TEST (elm_atspi_role_get)
33 Evas_Object *win, *ctxpopup; 34 Evas_Object *win, *ctxpopup;
34 Efl_Access_Role role; 35 Efl_Access_Role role;
35 36
36 elm_init(1, NULL); 37 char *args[] = { "exe" };
38 elm_init(1, args);
37 win = elm_win_add(NULL, "icon", ELM_WIN_BASIC); 39 win = elm_win_add(NULL, "icon", ELM_WIN_BASIC);
38 40
39 ctxpopup = elm_ctxpopup_add(win); 41 ctxpopup = elm_ctxpopup_add(win);