summaryrefslogtreecommitdiff
path: root/src/bin/vg_basic_gradient.c
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2016-07-19 18:21:56 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2016-07-19 19:03:49 +0900
commit95d6a6cd9a390af5f603879cd56f030ef6842289 (patch)
treeed284627807e3ed1a909d8180394ee3755d5523f /src/bin/vg_basic_gradient.c
parente79517e4902225f80a7162def3993a7058eea742 (diff)
Fix compilation for git master (1.18-alpha)
Diffstat (limited to 'src/bin/vg_basic_gradient.c')
-rw-r--r--src/bin/vg_basic_gradient.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/vg_basic_gradient.c b/src/bin/vg_basic_gradient.c
index 1a41a6e..35f6e3b 100644
--- a/src/bin/vg_basic_gradient.c
+++ b/src/bin/vg_basic_gradient.c
@@ -42,7 +42,7 @@ static void _setup(void)
42 efl_gfx_position_set(vector, 0, 0); 42 efl_gfx_position_set(vector, 0, 0);
43 efl_gfx_visible_set(vector, EINA_TRUE); 43 efl_gfx_visible_set(vector, EINA_TRUE);
44 44
45 root = evas_obj_vg_root_node_get(vector); 45 root = evas_object_vg_root_node_get(vector);
46 46
47 gradient = eo_add(EFL_VG_GRADIENT_LINEAR_CLASS, NULL); 47 gradient = eo_add(EFL_VG_GRADIENT_LINEAR_CLASS, NULL);
48 efl_gfx_gradient_stop_set(gradient, stops, 3); 48 efl_gfx_gradient_stop_set(gradient, stops, 3);
@@ -85,7 +85,7 @@ static void _loop(double t, int f)
85} 85}
86 86
87/* prepend special key handlers if interactive (before STD) */ 87/* prepend special key handlers if interactive (before STD) */
88static void _key(char *key) 88static void _key(const char *key)
89{ 89{
90 KEY_STD; 90 KEY_STD;
91} 91}