summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJihoon Kim <jihoon48.kim@samsung.com>2014-01-22 13:20:15 +0900
committerJihoon Kim <jihoon48.kim@samsung.com>2014-01-22 13:20:15 +0900
commit6848ca4827238f8a9755bcd9745b4cad63708a6e (patch)
tree5d7839ca7a1ab629e8e107ddaf48602b5b106eb3
parent8e178f2cabddc689da418cb888bbd8d87d6246f5 (diff)
fix some typos in comment and description
-rw-r--r--src/lib/elc_ctxpopup.c2
-rw-r--r--src/lib/elm_image.c2
-rw-r--r--src/lib/elm_map.c6
-rw-r--r--src/lib/elm_store.c6
-rw-r--r--src/lib/elm_toolbar.c2
5 files changed, 9 insertions, 9 deletions
diff --git a/src/lib/elc_ctxpopup.c b/src/lib/elc_ctxpopup.c
index ee756f657..8a953c57a 100644
--- a/src/lib/elc_ctxpopup.c
+++ b/src/lib/elc_ctxpopup.c
@@ -258,7 +258,7 @@ _base_geometry_calc(Evas_Object *obj,
258 base_size.x = min_size.x; 258 base_size.x = min_size.x;
259 259
260 //Check the Which direction is available. 260 //Check the Which direction is available.
261 //If find a avaialble direction, it adjusts position and size. 261 //If find a available direction, it adjusts position and size.
262 for (idx = 0; idx < 4; idx++) 262 for (idx = 0; idx < 4; idx++)
263 { 263 {
264 switch (sd->dir_priority[idx]) 264 switch (sd->dir_priority[idx])
diff --git a/src/lib/elm_image.c b/src/lib/elm_image.c
index 7db194758..7215b1541 100644
--- a/src/lib/elm_image.c
+++ b/src/lib/elm_image.c
@@ -1808,7 +1808,7 @@ static const Eo_Op_Description op_desc[] = {
1808 EO_OP_DESCRIPTION(ELM_OBJ_IMAGE_SUB_ID_FILE_SET, "Set the file that will be used as the image's source."), 1808 EO_OP_DESCRIPTION(ELM_OBJ_IMAGE_SUB_ID_FILE_SET, "Set the file that will be used as the image's source."),
1809 EO_OP_DESCRIPTION(ELM_OBJ_IMAGE_SUB_ID_FILE_GET, "Get the file that will be used as image."), 1809 EO_OP_DESCRIPTION(ELM_OBJ_IMAGE_SUB_ID_FILE_GET, "Get the file that will be used as image."),
1810 1810
1811 EO_OP_DESCRIPTION(ELM_OBJ_IMAGE_SUB_ID_SIZING_EVAL, "'Virtual' function on evalutating the object's final geometry."), 1811 EO_OP_DESCRIPTION(ELM_OBJ_IMAGE_SUB_ID_SIZING_EVAL, "'Virtual' function on evaluating the object's final geometry."),
1812 1812
1813 EO_OP_DESCRIPTION(ELM_OBJ_IMAGE_SUB_ID_SMOOTH_SCALE_SET, "'Virtual' function on setting whether the object's image should be scaled smoothly or not."), 1813 EO_OP_DESCRIPTION(ELM_OBJ_IMAGE_SUB_ID_SMOOTH_SCALE_SET, "'Virtual' function on setting whether the object's image should be scaled smoothly or not."),
1814 EO_OP_DESCRIPTION(ELM_OBJ_IMAGE_SUB_ID_SMOOTH_SCALE_GET, "'Virtual' function on retrieving whether the object's image is to scaled smoothly or not."), 1814 EO_OP_DESCRIPTION(ELM_OBJ_IMAGE_SUB_ID_SMOOTH_SCALE_GET, "'Virtual' function on retrieving whether the object's image is to scaled smoothly or not."),
diff --git a/src/lib/elm_map.c b/src/lib/elm_map.c
index eb579d120..0b9205484 100644
--- a/src/lib/elm_map.c
+++ b/src/lib/elm_map.c
@@ -1089,7 +1089,7 @@ _zoom_do(Elm_Map_Smart_Data *sd,
1089 sd->size.h = sd->size.w; 1089 sd->size.h = sd->size.w;
1090 1090
1091 // Fix to zooming with (viewport center vx, vy) as the center to prevent 1091 // Fix to zooming with (viewport center vx, vy) as the center to prevent
1092 // from zooming with (0,0) as the cetner. (scroller default behavior) 1092 // from zooming with (0,0) as the center. (scroller default behavior)
1093 _viewport_coord_get(sd, &vx, &vy, &vw, &vh); 1093 _viewport_coord_get(sd, &vx, &vy, &vw, &vh);
1094 if ((vw > 0) && (vh > 0) && (ow > 0) && (oh > 0)) 1094 if ((vw > 0) && (vh > 0) && (ow > 0) && (oh > 0))
1095 { 1095 {
@@ -1375,7 +1375,7 @@ _icon_dup(Evas_Object *icon,
1375 if (!icon || !parent) return NULL; 1375 if (!icon || !parent) return NULL;
1376 dupp = evas_object_image_filled_add(evas_object_evas_get(parent)); 1376 dupp = evas_object_image_filled_add(evas_object_evas_get(parent));
1377 evas_object_image_source_set(dupp, icon); 1377 evas_object_image_source_set(dupp, icon);
1378 // Set size as origin' sizse for proxy 1378 // Set size as origin' size for proxy
1379 evas_object_geometry_get(icon, NULL, NULL, &w, &h); 1379 evas_object_geometry_get(icon, NULL, NULL, &w, &h);
1380 if (w <= 0 || h <= 0) 1380 if (w <= 0 || h <= 0)
1381 { 1381 {
@@ -2581,7 +2581,7 @@ _overlay_place(Elm_Map_Smart_Data *sd)
2581 _overlay_bubble_coord_update(overlay->ovl); 2581 _overlay_bubble_coord_update(overlay->ovl);
2582 } 2582 }
2583 2583
2584 // Classify into group boss or follwer 2584 // Classify into group boss or follower
2585 EINA_LIST_FOREACH(sd->overlays, l, overlay) 2585 EINA_LIST_FOREACH(sd->overlays, l, overlay)
2586 { 2586 {
2587 Elm_Map_Overlay *boss; 2587 Elm_Map_Overlay *boss;
diff --git a/src/lib/elm_store.c b/src/lib/elm_store.c
index fda2e0be9..cd7bb2254 100644
--- a/src/lib/elm_store.c
+++ b/src/lib/elm_store.c
@@ -144,7 +144,7 @@ _store_genlist_del(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED
144////// **** WARNING *********************************************************** 144////// **** WARNING ***********************************************************
145//// * This function runs inside a thread outside efl mainloop. Be careful! * 145//// * This function runs inside a thread outside efl mainloop. Be careful! *
146// ************************************************************************ 146// ************************************************************************
147/* TODO: refactor lock part into core? this does not depend on filesystm part */ 147/* TODO: refactor lock part into core? this does not depend on filesystem part */
148static void 148static void
149_store_filesystem_fetch_do(void *data, Ecore_Thread *th EINA_UNUSED) 149_store_filesystem_fetch_do(void *data, Ecore_Thread *th EINA_UNUSED)
150{ 150{
@@ -169,7 +169,7 @@ _store_filesystem_fetch_do(void *data, Ecore_Thread *th EINA_UNUSED)
169// ************************************************************************ 169// ************************************************************************
170//// * End of separate thread function. * 170//// * End of separate thread function. *
171////// ************************************************************************ 171////// ************************************************************************
172/* TODO: refactor lock part into core? this does not depend on filesystm part */ 172/* TODO: refactor lock part into core? this does not depend on filesystem part */
173static void 173static void
174_store_filesystem_fetch_end(void *data, Ecore_Thread *th) 174_store_filesystem_fetch_end(void *data, Ecore_Thread *th)
175{ 175{
@@ -180,7 +180,7 @@ _store_filesystem_fetch_end(void *data, Ecore_Thread *th)
180 if (th == sti->fetch_th) sti->fetch_th = NULL; 180 if (th == sti->fetch_th) sti->fetch_th = NULL;
181} 181}
182 182
183/* TODO: refactor lock part into core? this does not depend on filesystm part */ 183/* TODO: refactor lock part into core? this does not depend on filesystem part */
184static void 184static void
185_store_filesystem_fetch_cancel(void *data, Ecore_Thread *th) 185_store_filesystem_fetch_cancel(void *data, Ecore_Thread *th)
186{ 186{
diff --git a/src/lib/elm_toolbar.c b/src/lib/elm_toolbar.c
index dc49542ef..15a77e640 100644
--- a/src/lib/elm_toolbar.c
+++ b/src/lib/elm_toolbar.c
@@ -546,7 +546,7 @@ _resize_job(void *data)
546 546
547 evas_object_resize(sd->bx, w, h); 547 evas_object_resize(sd->bx, w, h);
548 548
549// Remove the first or last separator since it is not neccessary 549// Remove the first or last separator since it is not necessary
550 list = evas_object_box_children_get(sd->bx_more); 550 list = evas_object_box_children_get(sd->bx_more);
551 EINA_INLIST_FOREACH(sd->items, it) 551 EINA_INLIST_FOREACH(sd->items, it)
552 { 552 {