Commit bf24e1e2 authored by Bryce W. Harrington's avatar Bryce W. Harrington Committed by Jason Ekstrand
Browse files

doc: Fix link to wl_list_remove()



Use function linking syntax instead of variable linking, to resolve two
warnings:

    wayland-server.h:167: warning: explicit link request to 'wl_list_remove' could not be resolved
    wayland-server.h:188: warning: explicit link request to 'wl_list_remove' could not be resolved
Signed-off-by: default avatarBryce Harrington <b.harrington@samsung.com>
parent 886b09c9
......@@ -168,7 +168,7 @@ wl_client_post_no_memory(struct wl_client *client);
* }
* \endcode
*
* If you need to remove a listener from a signal, use #wl_list_remove.
* If you need to remove a listener from a signal, use wl_list_remove().
*
* \code
* wl_list_remove(&your_listener.link);
......@@ -189,7 +189,7 @@ struct wl_listener {
* Compositors as well as the server can provide signals. Observers are
* wl_listener's that are added through #wl_signal_add. Signals are emitted
* using #wl_signal_emit, which will invoke all listeners until that
* listener is removed by #wl_list_remove (or whenever the signal is
* listener is removed by wl_list_remove() (or whenever the signal is
* destroyed).
*
* \sa wl_listener for more information on using wl_signal
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment