summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLauro Moura <lauromoura@expertisesolutions.com.br>2017-12-06 12:54:51 -0300
committerLauro Moura <lauromoura@expertisesolutions.com.br>2017-12-06 18:52:13 -0300
commit33f285c063d040c568dd666a7b8710848f4f1a5b (patch)
tree692d4f373fa754722b831a43c533cc5836c4aef5 /src
parentaab5cc03ff4cdbf656486f39869cc9b396ef3b68 (diff)
examples: Fix after edje_obj canvas_layout change
Summary: Edje.Object was renamed Efl.Canvas.Layout in 54ae9cc18b6c0fdb9a10f03ad2681587ca062c6c Reviewers: jpeg, marcelhollerbach, felipealmeida Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D5610
Diffstat (limited to 'src')
-rw-r--r--src/examples/edje/edje-multiseat.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/examples/edje/edje-multiseat.c b/src/examples/edje/edje-multiseat.c
index e2caa60f15..a6cd6c0e72 100644
--- a/src/examples/edje/edje-multiseat.c
+++ b/src/examples/edje/edje-multiseat.c
@@ -69,7 +69,7 @@ _on_rect_focus_in(void *data, const Efl_Event *event)
69 rect = event->object; 69 rect = event->object;
70 ev = event->info; 70 ev = event->info;
71 seat = efl_input_device_get(ev); 71 seat = efl_input_device_get(ev);
72 name = edje_obj_seat_name_get(edje_obj, seat); 72 name = efl_canvas_layout_seat_name_get(edje_obj, seat);
73 73
74 printf("Seat %s (%s) focused the rect object\n", 74 printf("Seat %s (%s) focused the rect object\n",
75 efl_name_get(seat), name); 75 efl_name_get(seat), name);
@@ -94,7 +94,7 @@ _on_rect_focus_out(void *data, const Efl_Event *event)
94 rect = event->object; 94 rect = event->object;
95 ev = event->info; 95 ev = event->info;
96 seat = efl_input_device_get(ev); 96 seat = efl_input_device_get(ev);
97 name = edje_obj_seat_name_get(edje_obj, seat); 97 name = efl_canvas_layout_seat_name_get(edje_obj, seat);
98 98
99 printf("Seat %s (%s) unfocused the rect object\n", 99 printf("Seat %s (%s) unfocused the rect object\n",
100 efl_name_get(seat), name); 100 efl_name_get(seat), name);
@@ -113,7 +113,7 @@ _on_key_down(void *data, Evas *e EINA_UNUSED, Evas_Object *o, void *event_info)
113 113
114 seat = efl_input_device_seat_get(ev->dev); 114 seat = efl_input_device_seat_get(ev->dev);
115 printf("Seat %s (%s) pressed key %s\n", efl_name_get(seat), 115 printf("Seat %s (%s) pressed key %s\n", efl_name_get(seat),
116 edje_obj_seat_name_get(o, seat), ev->key); 116 efl_canvas_layout_seat_name_get(o, seat), ev->key);
117 117
118 mods = evas_key_modifier_get(evas); 118 mods = evas_key_modifier_get(evas);
119 if (!strcmp(ev->key, "p") && 119 if (!strcmp(ev->key, "p") &&
@@ -140,7 +140,7 @@ _on_drag_started(void *data EINA_UNUSED, Evas_Object *o, const char *emission, c
140 140
141 seat_name_str = emission + strlen("drag,start,"); 141 seat_name_str = emission + strlen("drag,start,");
142 seat_name = eina_stringshare_add(seat_name_str); 142 seat_name = eina_stringshare_add(seat_name_str);
143 seat = edje_obj_seat_get(o, seat_name); 143 seat = efl_canvas_layout_seat_get(o, seat_name);
144 printf("Seat %s (%s) started drag %s\n", efl_name_get(seat), 144 printf("Seat %s (%s) started drag %s\n", efl_name_get(seat),
145 seat_name, source); 145 seat_name, source);
146 eina_stringshare_del(seat_name); 146 eina_stringshare_del(seat_name);