elm/entry: fix document and parameter of elm_entry_input_panel_return_key_autoenabled_set
authorjihoon <jihoon@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 29 Feb 2012 04:45:08 +0000 (04:45 +0000)
committerjihoon <jihoon@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 29 Feb 2012 04:45:08 +0000 (04:45 +0000)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@68530 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/elm_entry.c
src/lib/elm_entry.h

index ef65416..d701442 100644 (file)
@@ -3751,13 +3751,13 @@ elm_entry_input_panel_return_key_disabled_get(const Evas_Object *obj)
 }
 
 EAPI void
-elm_entry_input_panel_return_key_autoenabled_set(Evas_Object *obj, Eina_Bool on)
+elm_entry_input_panel_return_key_autoenabled_set(Evas_Object *obj, Eina_Bool enabled)
 {
    ELM_CHECK_WIDTYPE(obj, widtype);
    Widget_Data *wd = elm_widget_data_get(obj);
    if (!wd) return;
 
-   wd->autoreturnkey = on;
+   wd->autoreturnkey = enabled;
    _check_enable_return_key(obj);
 }
 
index e37ef77..18f9820 100644 (file)
@@ -1279,14 +1279,14 @@ EAPI Eina_Bool              elm_entry_input_panel_return_key_disabled_get(const
 /**
  * Set whether the return key on the input panel is disabled automatically when entry has no text.
  *
- * If @p on is EINA_TRUE, The return key on input panel is disabled when the entry has no text.
- * The return Key on the input panel is automatically enabled when the entry has text.
+ * If @p enabled is EINA_TRUE, The return key on input panel is disabled when the entry has no text.
+ * The return key on the input panel is automatically enabled when the entry has text.
  * The default value is EINA_FALSE.
  *
  * @param obj The entry object
- * @param on If @p on is EINA_TRUE, the return key is automatically disabled when the entry has no text.
+ * @param enabled If @p enabled is EINA_TRUE, the return key is automatically disabled when the entry has no text.
  */
-EAPI void                   elm_entry_input_panel_return_key_autoenabled_set(Evas_Object *obj, Eina_Bool on);
+EAPI void                   elm_entry_input_panel_return_key_autoenabled_set(Evas_Object *obj, Eina_Bool enabled);
 
 /**
  * Reset the input method context of the entry if needed.