summaryrefslogtreecommitdiff
path: root/src/examples
diff options
context:
space:
mode:
Diffstat (limited to 'src/examples')
-rw-r--r--src/examples/edje/edje-box.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/examples/edje/edje-box.c b/src/examples/edje/edje-box.c
index 978a530..a36a5a5 100644
--- a/src/examples/edje/edje-box.c
+++ b/src/examples/edje/edje-box.c
@@ -92,7 +92,7 @@ _on_rect_mouse_down(void *data, Evas *e, Evas_Object *o, void *event_info)
92 printf("Inserting rect %p before the rectangle under the mouse pointer.\n", rect); 92 printf("Inserting rect %p before the rectangle under the mouse pointer.\n", rect);
93 r = edje_object_part_box_insert_before(edje_obj, "example/box", rect, o); 93 r = edje_object_part_box_insert_before(edje_obj, "example/box", rect, o);
94 if (!r) 94 if (!r)
95 printf("An error ocurred when appending rect %p to the box.\n", rect); 95 printf("An error occurred when appending rect %p to the box.\n", rect);
96 96
97 evas_object_event_callback_add(rect, EVAS_CALLBACK_MOUSE_DOWN, _on_rect_mouse_down, NULL); 97 evas_object_event_callback_add(rect, EVAS_CALLBACK_MOUSE_DOWN, _on_rect_mouse_down, NULL);
98 } 98 }
@@ -126,7 +126,7 @@ _on_bg_key_down(void *data, Evas *e, Evas_Object *o EINA_UNUSED, void *event_inf
126 printf("Inserting rect %p before the rectangle under the mouse pointer.\n", rect); 126 printf("Inserting rect %p before the rectangle under the mouse pointer.\n", rect);
127 r = edje_object_part_box_insert_at(edje_obj, "example/box", rect, 0); 127 r = edje_object_part_box_insert_at(edje_obj, "example/box", rect, 0);
128 if (!r) 128 if (!r)
129 printf("An error ocurred when appending rect %p to the box.\n", rect); 129 printf("An error occurred when appending rect %p to the box.\n", rect);
130 130
131 evas_object_event_callback_add(rect, EVAS_CALLBACK_MOUSE_DOWN, _on_rect_mouse_down, NULL); 131 evas_object_event_callback_add(rect, EVAS_CALLBACK_MOUSE_DOWN, _on_rect_mouse_down, NULL);
132 } 132 }
@@ -140,7 +140,7 @@ _on_bg_key_down(void *data, Evas *e, Evas_Object *o EINA_UNUSED, void *event_inf
140 printf("Inserting rect %p before the rectangle under the mouse pointer.\n", rect); 140 printf("Inserting rect %p before the rectangle under the mouse pointer.\n", rect);
141 r = edje_object_part_box_append(edje_obj, "example/box", rect); 141 r = edje_object_part_box_append(edje_obj, "example/box", rect);
142 if (!r) 142 if (!r)
143 printf("An error ocurred when appending rect %p to the box.\n", rect); 143 printf("An error occurred when appending rect %p to the box.\n", rect);
144 144
145 evas_object_event_callback_add(rect, EVAS_CALLBACK_MOUSE_DOWN, _on_rect_mouse_down, NULL); 145 evas_object_event_callback_add(rect, EVAS_CALLBACK_MOUSE_DOWN, _on_rect_mouse_down, NULL);
146 } 146 }
@@ -209,7 +209,7 @@ main(int argc EINA_UNUSED, char *argv[] EINA_UNUSED)
209 evas_object_resize(rect, RECTW, RECTH); 209 evas_object_resize(rect, RECTW, RECTH);
210 r = edje_object_part_box_append(edje_obj, "example/box", rect); 210 r = edje_object_part_box_append(edje_obj, "example/box", rect);
211 if (!r) 211 if (!r)
212 printf("An error ocurred when appending rect #%d to the box.\n", i); 212 printf("An error occurred when appending rect #%d to the box.\n", i);
213 evas_object_show(rect); 213 evas_object_show(rect);
214 214
215 evas_object_event_callback_add( 215 evas_object_event_callback_add(