From dc4fd17a9c131d4154b828810fd16231c5968470 Mon Sep 17 00:00:00 2001 From: Elyes HAOUAS Date: Sat, 20 Jun 2020 13:00:10 +0000 Subject: [PATCH] Fix typos - (Part #5) Fix some typos Reviewed-by: Stefan Schmidt Differential Revision: https://phab.enlightenment.org/D12019 --- src/lib/edje/edje_match.c | 2 +- src/lib/eet/Eet.h | 2 +- src/lib/efreet/efreet_menu.c | 4 ++-- src/lib/eio/eio_file.c | 4 ++-- src/lib/eio/eio_private.h | 2 +- src/lib/eldbus/Eldbus.h | 2 +- src/lib/eldbus/eldbus_connection.h | 2 +- src/lib/eldbus/eldbus_message.h | 4 ++-- src/lib/eolian/Eolian.h | 6 +++--- 9 files changed, 14 insertions(+), 14 deletions(-) diff --git a/src/lib/edje/edje_match.c b/src/lib/edje/edje_match.c index c58c91e53d..021a891856 100644 --- a/src/lib/edje/edje_match.c +++ b/src/lib/edje/edje_match.c @@ -478,7 +478,7 @@ edje_match_programs_exec_check_finals(const unsigned int *signal_finals, unsigned int i; unsigned int j; - /* when not enought memory, they could be NULL */ + /* when not enough memory, they could be NULL */ if (!signal_finals || !source_finals) return EINA_TRUE; for (i = 0; i < signal_states->size; ++i) diff --git a/src/lib/eet/Eet.h b/src/lib/eet/Eet.h index c3016d9b67..ef7832914c 100644 --- a/src/lib/eet/Eet.h +++ b/src/lib/eet/Eet.h @@ -932,7 +932,7 @@ eet_list(Eet_File *ef, * @ingroup Eet_File_Group * @brief Returns an iterator that will describe each entry of an Eet_File. * @param ef A valid eet file handle. - * @return An interator of Eet_Entry. + * @return An iterator of Eet_Entry. * * @since 1.8.0 */ diff --git a/src/lib/efreet/efreet_menu.c b/src/lib/efreet/efreet_menu.c index e45cb678b4..890934fc22 100644 --- a/src/lib/efreet/efreet_menu.c +++ b/src/lib/efreet/efreet_menu.c @@ -65,7 +65,7 @@ struct Efreet_Menu_Internal Eina_List *layout; /**< This menus layout */ Eina_List *default_layout; /**< Default layout */ signed char show_empty; /**< Whether to show empty menus */ - signed char in_line; /**< Whether this meny can be inlined */ + signed char in_line; /**< Whether this menu can be inlined */ signed char inline_limit; /**< Number of elements which triggers inline */ signed char inline_header; /**< Whether we should use the header name when this menu is inlined */ signed char inline_alias; /**< Whether we should use the menu name when inlining */ @@ -143,7 +143,7 @@ struct Efreet_Menu_Layout /* The items below are for Menuname Layout elements */ signed char show_empty; /**< Whether to show empty menus */ - signed char in_line; /**< Whether this meny can be inlined */ + signed char in_line; /**< Whether this menu can be inlined */ signed char inline_limit; /**< Number of elements which triggers inline */ signed char inline_header; /**< Whether we should use the header name when this menu is inlined */ signed char inline_alias; /**< Whether we should use the menu name when inlining */ diff --git a/src/lib/eio/eio_file.c b/src/lib/eio/eio_file.c index d66b035404..ae36d50ac7 100644 --- a/src/lib/eio/eio_file.c +++ b/src/lib/eio/eio_file.c @@ -769,7 +769,7 @@ eio_file_associate_add(Eio_File *ls, { EINA_SAFETY_ON_NULL_RETURN_VAL(ls, EINA_FALSE); EINA_SAFETY_ON_NULL_RETURN_VAL(key, EINA_FALSE); - /* FIXME: Check if we are in the right worker thred */ + /* FIXME: Check if we are in the right worker thread */ if (!ls->worker.associated) ls->worker.associated = eina_hash_string_small_new(eio_associate_free); @@ -785,7 +785,7 @@ eio_file_associate_direct_add(Eio_File *ls, { EINA_SAFETY_ON_NULL_RETURN_VAL(ls, EINA_FALSE); EINA_SAFETY_ON_NULL_RETURN_VAL(key, EINA_FALSE); - /* FIXME: Check if we are in the right worker thred */ + /* FIXME: Check if we are in the right worker thread */ if (!ls->worker.associated) ls->worker.associated = eina_hash_string_small_new(eio_associate_free); diff --git a/src/lib/eio/eio_private.h b/src/lib/eio/eio_private.h index e8f9c856a4..3fd2c09237 100644 --- a/src/lib/eio/eio_private.h +++ b/src/lib/eio/eio_private.h @@ -53,7 +53,7 @@ typedef struct stat _eio_stat_t; # include #endif -/* Keeping 8 Eio_File_Progress alive should be enought */ +/* Keeping 8 Eio_File_Progress alive should be enough */ #define EIO_PROGRESS_LIMIT 8 /* Huge TLB == 16M on most system */ diff --git a/src/lib/eldbus/Eldbus.h b/src/lib/eldbus/Eldbus.h index 808084231e..d307c384ed 100644 --- a/src/lib/eldbus/Eldbus.h +++ b/src/lib/eldbus/Eldbus.h @@ -21,7 +21,7 @@ * *
    *
  • @ref Eldbus_Core - *
  • @ref Eldbus_Conneciton + *
  • @ref Eldbus_Connection *
  • @ref Eldbus_Object_Mapper *
  • @ref Eldbus_Proxy *
  • @ref Eldbus_Message diff --git a/src/lib/eldbus/eldbus_connection.h b/src/lib/eldbus/eldbus_connection.h index 5615162028..df20c1726b 100644 --- a/src/lib/eldbus/eldbus_connection.h +++ b/src/lib/eldbus/eldbus_connection.h @@ -2,7 +2,7 @@ #define ELDBUS_CONNECTION_H 1 /** - * @defgroup Eldbus_Conneciton Connection + * @defgroup Eldbus_Connection Connection * @ingroup Eldbus * * @{ diff --git a/src/lib/eldbus/eldbus_message.h b/src/lib/eldbus/eldbus_message.h index dbb9e0c919..7986d6911e 100644 --- a/src/lib/eldbus/eldbus_message.h +++ b/src/lib/eldbus/eldbus_message.h @@ -384,7 +384,7 @@ EAPI Eina_Bool eldbus_message_iter_fixed_array_get(Eldbus_Message_Iter *iter, in * Eldbus_Message_Iter will be need. * * @param iter iterator - * @param signature of the complete data types on interator + * @param signature of the complete data types on iterator * @param ... pointers of where data will be stored * * @return EINA_FALSE if signature different from signature in iterator @@ -397,7 +397,7 @@ EAPI Eina_Bool eldbus_message_iter_arguments_get(Eldbus_Message_It * Eldbus_Message_Iter will be need. * * @param iter iterator - * @param signature of the complete data types on interator + * @param signature of the complete data types on iterator * @param ap va_list of the pointers of where data will be stored * * @return EINA_FALSE if signature different from signature in iterator diff --git a/src/lib/eolian/Eolian.h b/src/lib/eolian/Eolian.h index 3d3db0ee7b..be2845630a 100644 --- a/src/lib/eolian/Eolian.h +++ b/src/lib/eolian/Eolian.h @@ -339,7 +339,7 @@ typedef enum #ifdef EFL_BETA_API_SUPPORT EOLIAN_TYPE_BUILTIN_LIST, #else - // Placeholder when using release API only. Done to prevent offseting the value below. + // Placeholder when using release API only. Done to prevent offsetting the value below. EOLIAN_TYPE_BUILTIN_BETA_PLACEHOLDER1, #endif @@ -906,7 +906,7 @@ EAPI Eina_Bool eolian_state_all_eot_files_parse(Eolian_State *state); /* * @brief Perform additional checks on the state. * - * This funciton performs additional checks that aren't crucial for the + * This function performs additional checks that aren't crucial for the * database integrity (that's checked as a part of the regular parse process, * so the database is guaranteed to be valid), but are important for proper * correctness. It is recommended that all available .eot and .eo files are @@ -1553,7 +1553,7 @@ EAPI const Eolian_Class *eolian_class_parent_get(const Eolian_Class *klass); /* * @brief Returns an iterator to the required classes of this mixin * - * For none mixins this will return an empty iterator, for mixins this retuns a iterator that + * For none mixins this will return an empty iterator, for mixins this returns a iterator that * carries all the classes that are required by this passed mixin. * * @param[in] klass the class