Some additions

This commit is contained in:
Matthias Clasen
2005-05-01 21:20:20 +00:00
parent 6b8f6c09b7
commit 62d51bce03
2 changed files with 11 additions and 2 deletions

View File

@@ -1,3 +1,8 @@
2005-05-01 Matthias Clasen <mclasen@redhat.com>
* glib/tmpl/completions.sgml: Document
strncmp_func.
2005-04-29 Matthias Clasen <mclasen@redhat.com> 2005-04-29 Matthias Clasen <mclasen@redhat.com>
* gobject/tmpl/gboxed.sgml: * gobject/tmpl/gboxed.sgml:

View File

@@ -33,6 +33,9 @@ a different #GCompletionStrncmpFunc in g_completion_set_compare().
</para> </para>
<!-- ##### SECTION Stability_Level ##### -->
<!-- ##### STRUCT GCompletion ##### --> <!-- ##### STRUCT GCompletion ##### -->
<para> <para>
The data structure used for automatic completion. The data structure used for automatic completion.
@@ -44,7 +47,8 @@ The data structure used for automatic completion.
@prefix: the last prefix passed to g_completion_complete() or @prefix: the last prefix passed to g_completion_complete() or
g_completion_complete_utf8(). g_completion_complete_utf8().
@cache: the list of items which begin with @prefix. @cache: the list of items which begin with @prefix.
@strncmp_func: @strncmp_func: The function to use when comparing strings.
Use g_completion_set_compare() to modify this function.
<!-- ##### FUNCTION g_completion_new ##### --> <!-- ##### FUNCTION g_completion_new ##### -->
<para> <para>
@@ -123,7 +127,7 @@ not be changed.
<!-- ##### FUNCTION g_completion_set_compare ##### --> <!-- ##### FUNCTION g_completion_set_compare ##### -->
<para> <para>
Sets the function to use for string comparisons. The default Sets the function to use for string comparisons. The default
string comparison function is <function>strncmp()</function>. string comparison function is strncmp().
</para> </para>
@cmp: a #GCompletion. @cmp: a #GCompletion.