elementary: fix documentation for elm_prefs

Update API references and code example.
This commit is contained in:
Jean Guyomarc'h 2016-08-14 18:55:33 +02:00
parent 0779adcf0b
commit a5232bb283
1 changed files with 4 additions and 6 deletions

View File

@ -44,8 +44,7 @@ typedef enum
* @param signal The part of signal name, which will be emitted to style * @param signal The part of signal name, which will be emitted to style
* @return The regex validator * @return The regex validator
* *
* @see elm_validator_regexp_del() * @see elm_validator_regexp_free()
* @see elm_validator_regex_regex_set()
* @see elm_validator_regexp_status_get() * @see elm_validator_regexp_status_get()
* @see elm_validator_regexp_helper() * @see elm_validator_regexp_helper()
* *
@ -59,7 +58,7 @@ elm_validator_regexp_new(const char *pattern, const char *signal) EINA_ARG_NONNU
* *
* @param validator The given validator * @param validator The given validator
* *
* @see elm_validator_regexp_add() * @see elm_validator_regexp_new()
* *
* @since 1.14 * @since 1.14
*/ */
@ -90,15 +89,14 @@ elm_validator_regexp_status_get(Elm_Validator_Regexp *validator) EINA_ARG_NONNUL
* *
* //add validator * //add validator
* entry = elm_entry_add(parent); * entry = elm_entry_add(parent);
* re = elm_validator_regexp_add("^[0-9]*$"); * re = elm_validator_regexp_new("^[0-9]*$", NULL);
* efl_event_callback_add(entry, ELM_ENTRY_EVENT_VALIDATE, elm_validator_regexp_helper, re); * efl_event_callback_add(entry, ELM_ENTRY_EVENT_VALIDATE, elm_validator_regexp_helper, re);
* *
* //delete validator * //delete validator
* efl_event_callback_del(entry, ELM_ENTRY_EVENT_VALIDATE, elm_validator_regexp_helper, re); * efl_event_callback_del(entry, ELM_ENTRY_EVENT_VALIDATE, elm_validator_regexp_helper, re);
* @endcode * @endcode
* *
* @see elm_validator_regexp_add() * @see elm_validator_regexp_new()
* @see elm_validotor_regex_regex_set()
* @since 1.14 * @since 1.14
*/ */
EAPI void EAPI void