summaryrefslogtreecommitdiff
path: root/src/bin/elementary
diff options
context:
space:
mode:
authorAmitesh Singh <amitesh.sh@samsung.com>2017-12-11 14:50:22 +0900
committerAmitesh Singh <amitesh.sh@samsung.com>2017-12-11 15:25:31 +0900
commit196b6f1ba48bf06a11c0017e43550583a05d00f5 (patch)
tree84f788cf9878dbd0c4482f10e43aae308d2f25eb /src/bin/elementary
parentf394db44fc854ff6898dafa72b8dabbc02eff564 (diff)
interface: rename Efl.Dup to Efl.Duplicate.
dup is considered too short and maybe confusing, hence rename it to duplicate instead.
Diffstat (limited to 'src/bin/elementary')
-rw-r--r--src/bin/elementary/test_events.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/bin/elementary/test_events.c b/src/bin/elementary/test_events.c
index f8ae9daced..38c94418ce 100644
--- a/src/bin/elementary/test_events.c
+++ b/src/bin/elementary/test_events.c
@@ -22,7 +22,7 @@ _pointer_down(void *data, const Efl_Event *ev)
22 testdata *td = data; 22 testdata *td = data;
23 td->down = 1; 23 td->down = 1;
24 efl_unref(td->evdown); 24 efl_unref(td->evdown);
25 td->evdown = efl_dup(ev->info); 25 td->evdown = efl_duplicate(ev->info);
26} 26}
27 27
28static void 28static void
@@ -30,7 +30,7 @@ _pointer_move(void *data, const Efl_Event *ev)
30{ 30{
31 testdata *td = data; 31 testdata *td = data;
32 efl_unref(td->evmove); 32 efl_unref(td->evmove);
33 td->evmove = efl_dup(ev->info); 33 td->evmove = efl_duplicate(ev->info);
34} 34}
35 35
36static void 36static void
@@ -39,7 +39,7 @@ _pointer_up(void *data, const Efl_Event *ev)
39 testdata *td = data; 39 testdata *td = data;
40 td->down = 0; 40 td->down = 0;
41 efl_unref(td->evup); 41 efl_unref(td->evup);
42 td->evup = efl_dup(ev->info); 42 td->evup = efl_duplicate(ev->info);
43} 43}
44 44
45static void 45static void
@@ -64,7 +64,7 @@ _key_down(void *data, const Efl_Event *ev)
64 if (!efl_input_fake_get(ev->info)) 64 if (!efl_input_fake_get(ev->info))
65 { 65 {
66 efl_unref(td->evkeydown); 66 efl_unref(td->evkeydown);
67 td->evkeydown = efl_dup(ev->info); 67 td->evkeydown = efl_duplicate(ev->info);
68 } 68 }
69} 69}
70 70
@@ -89,7 +89,7 @@ _key_up(void *data, const Efl_Event *ev)
89 if (!efl_input_fake_get(ev->info)) 89 if (!efl_input_fake_get(ev->info))
90 { 90 {
91 efl_unref(td->evkeyup); 91 efl_unref(td->evkeyup);
92 td->evkeyup = efl_dup(ev->info); 92 td->evkeyup = efl_duplicate(ev->info);
93 } 93 }
94 94
95 if (td->f) eina_future_cancel(td->f); 95 if (td->f) eina_future_cancel(td->f);