From 9e99a7f5797a1b79a7e7141c36a7ebb5173447e3 Mon Sep 17 00:00:00 2001 From: Jihoon Kim Date: Fri, 22 Nov 2013 11:06:37 +0900 Subject: [PATCH] fix typos in doxygen and comments --- legacy/elementary/src/lib/elm_cnp.c | 4 ++-- legacy/elementary/src/lib/elm_cnp.h | 4 ++-- legacy/elementary/src/lib/elm_entry.c | 4 ++-- legacy/elementary/src/lib/elm_genlist.c | 2 +- legacy/elementary/src/lib/elm_index.c | 6 +++--- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/legacy/elementary/src/lib/elm_cnp.c b/legacy/elementary/src/lib/elm_cnp.c index 0b6ac7d130..d64b248f93 100644 --- a/legacy/elementary/src/lib/elm_cnp.c +++ b/legacy/elementary/src/lib/elm_cnp.c @@ -951,7 +951,7 @@ _x11_notify_handler_uri(X11_Cnp_Selection *sel, Ecore_X_Event_Selection_Notify * } /** - * Just receieved an vcard, either through cut and paste, or dnd. + * Just received an vcard, either through cut and paste, or dnd. */ static int _x11_vcard_receive(X11_Cnp_Selection *sel, Ecore_X_Event_Selection_Notify *notify) @@ -1962,7 +1962,7 @@ _x11_elm_drop_target_del(Evas_Object *obj, Elm_Sel_Format format, } else return EINA_FALSE; - /* TODO BUG: we should handle dnd-aware per window, not just the last that reelased it */ + /* TODO BUG: we should handle dnd-aware per window, not just the last that released it */ /* If still drops there: All fine.. continue */ if (drops) return EINA_TRUE; diff --git a/legacy/elementary/src/lib/elm_cnp.h b/legacy/elementary/src/lib/elm_cnp.h index 9fd9282ad6..efcb256e73 100644 --- a/legacy/elementary/src/lib/elm_cnp.h +++ b/legacy/elementary/src/lib/elm_cnp.h @@ -449,7 +449,7 @@ typedef Eina_Bool (*Elm_Item_Container_Data_Get_Cb)( * * @param obj The container object. * @param tm_to_anim Time period to wait before start animation. - * @param tm_to_drag Time period to wait before start draggind. + * @param tm_to_drag Time period to wait before start dragging. * @param itemgetcb Callback to get Evas_Object pointer for item at (x,y) * @param data_get Callback to get drag info * @return Returns EINA_TRUE, if successful, or EINA_FALSE if not. @@ -501,7 +501,7 @@ EAPI Eina_Bool elm_drop_item_container_add(Evas_Object *obj, Elm_Drop_Item_Container_Cb dropcb, void *dropdata); /** - * @brief Removes a container from list of drop tragets. + * @brief Removes a container from list of drop targets. * * @param obj The container object * @return Returns EINA_TRUE, if successful, or EINA_FALSE if not. diff --git a/legacy/elementary/src/lib/elm_entry.c b/legacy/elementary/src/lib/elm_entry.c index 143a5d0b2d..b00e9a145d 100644 --- a/legacy/elementary/src/lib/elm_entry.c +++ b/legacy/elementary/src/lib/elm_entry.c @@ -2797,7 +2797,7 @@ proceed: size_t tlen; tlen = strlen(text); - /* FIXME: need that or we do copy unitialised data */ + /* FIXME: need that or we do copy uninitialised data */ tmpbuf = calloc(1, tlen + sd->append_text_len - sd->append_text_position + 1); if (!tmpbuf) @@ -3128,7 +3128,7 @@ _end_handler_mouse_move_cb(void *data, if (epos <= spos) edje_object_part_text_cursor_pos_set(sd->entry_edje, "elm.text", EDJE_CURSOR_SELECTION_END, spos + 1); - + edje_object_part_text_cursor_geometry_get(sd->entry_edje, "elm.text", &cx, &cy, NULL, &ch); diff --git a/legacy/elementary/src/lib/elm_genlist.c b/legacy/elementary/src/lib/elm_genlist.c index 0ac56ce74c..f68d48cb2e 100644 --- a/legacy/elementary/src/lib/elm_genlist.c +++ b/legacy/elementary/src/lib/elm_genlist.c @@ -1627,7 +1627,7 @@ _item_realize(Elm_Gen_Item *it, _elm_genlist_item_index_update(it); } - /* homogenous genlist shortcut */ + /* homogeneous genlist shortcut */ if ((calc) && (sd->homogeneous) && (!it->item->mincalcd) && ((it->group && sd->group_item_width) || (!it->group && sd->item_width))) diff --git a/legacy/elementary/src/lib/elm_index.c b/legacy/elementary/src/lib/elm_index.c index a61242fdc9..7057204447 100644 --- a/legacy/elementary/src/lib/elm_index.c +++ b/legacy/elementary/src/lib/elm_index.c @@ -1044,7 +1044,7 @@ _elm_index_smart_focus_next(Eo *obj, void *_pd EINA_UNUSED, va_list *list) int_ret = elm_widget_focus_list_next_get (obj, items, eina_list_data_get, dir, next); - // to hide index item, if there is nothing to focus on autohide disalbe mode + // to hide index item, if there is nothing to focus on autohide disable mode if ((!sd->autohide_disabled) && (!int_ret)) elm_layout_signal_emit((Evas_Object *)obj, "elm,state,inactive", "elm"); @@ -1144,7 +1144,7 @@ _autohide_disabled_set(Eo *obj, void *_pd, va_list *list) else elm_layout_signal_emit(obj, "elm,state,inactive", "elm"); - //FIXME: Should be update indicator based on the indicator visiblility + //FIXME: Should be update indicator based on the indicator visibility } EAPI Eina_Bool @@ -1199,7 +1199,7 @@ _item_level_get(Eo *obj EINA_UNUSED, void *_pd, va_list *list) *ret = sd->level; } -//FIXME: Should update indicator based on the autohidden status & indicator visiblility +//FIXME: Should update indicator based on the autohidden status & indicator visibility EAPI void elm_index_item_selected_set(Elm_Object_Item *it, Eina_Bool selected)