Commit 67694fb3 authored by Rui Matos's avatar Rui Matos

gsequence: Fix g_sequence_lookup() return value documentation

Mention that we return NULL if the item we are looking up isn't
found.
parent 82f2ee90
......@@ -829,7 +829,8 @@ g_sequence_search (GSequence *seq,
* </para></note>
*
* Return value: an #GSequenceIter pointing to the position of the
* first item found equal to @data according to @cmp_func and @cmp_data.
* first item found equal to @data according to @cmp_func and
* @cmp_data, or %NULL if no such item exists.
*
* Since: 2.28
**/
......@@ -1123,7 +1124,7 @@ g_sequence_search_iter (GSequence *seq,
*
* Return value: an #GSequenceIter pointing to the position of
* the first item found equal to @data according to @cmp_func
* and @cmp_data.
* and @cmp_data, or %NULL if no such item exists.
*
* Since: 2.28
**/
......
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