summaryrefslogtreecommitdiff
path: root/gobject
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2013-05-09 16:02:52 -0400
committerMatthias Clasen <mclasen@redhat.com>2013-05-09 16:04:54 -0400
commit6fe6b0300b382fd000f75edd3ad968d29b276a0d (patch)
tree6a4894adac85f6c34e654cd5357ce16460217638 /gobject
parent8d13a3e4e175697f00d5963542ea2ff0aa37662f (diff)
downloadglib-6fe6b0300b382fd000f75edd3ad968d29b276a0d.tar.gz
glib-6fe6b0300b382fd000f75edd3ad968d29b276a0d.tar.bz2
glib-6fe6b0300b382fd000f75edd3ad968d29b276a0d.zip
Clarify GValueArray docs
Don't refer to Quicksort in the documentation of g_value_array_sort, but just to qsort().
Diffstat (limited to 'gobject')
-rw-r--r--gobject/gvaluearray.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/gobject/gvaluearray.c b/gobject/gvaluearray.c
index db6c71901..e3fe2554c 100644
--- a/gobject/gvaluearray.c
+++ b/gobject/gvaluearray.c
@@ -334,7 +334,8 @@ g_value_array_remove (GValueArray *value_array,
* Sort @value_array using @compare_func to compare the elements according to
* the semantics of #GCompareFunc.
*
- * The current implementation uses Quick-Sort as sorting algorithm.
+ * The current implementation uses the same sorting algorithm as standard
+ * C qsort() function.
*
* Returns: (transfer none): the #GValueArray passed in as @value_array
*
@@ -363,7 +364,8 @@ g_value_array_sort (GValueArray *value_array,
* Sort @value_array using @compare_func to compare the elements according
* to the semantics of #GCompareDataFunc.
*
- * The current implementation uses Quick-Sort as sorting algorithm.
+ * The current implementation uses the same sorting algorithm as standard
+ * C qsort() function.
*
* Rename to: g_value_array_sort
* Returns: (transfer none): the #GValueArray passed in as @value_array