[vte] [ring] Update docs



commit 717f5bc3422dd3b4a838adec7a65e183e2843702
Author: Behdad Esfahbod <behdad behdad org>
Date:   Tue Aug 25 23:23:12 2009 -0400

    [ring] Update docs

 src/ring.c |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/src/ring.c b/src/ring.c
index de6fb4e..20a7fae 100644
--- a/src/ring.c
+++ b/src/ring.c
@@ -159,7 +159,7 @@ _vte_ring_resize(VteRing *ring, glong max_elements)
  * @position: an index
  *
  * Inserts a new, empty, row into @ring at the @position'th offset.
- * XXX document how exactly this thing is supposed to work.
+ * The item at that position and any items after that are shifted down.
  *
  * Return: the newly added row.
  */
@@ -223,8 +223,7 @@ _vte_ring_insert(VteRing * ring, long position)
  * @ring: a #VteRing
  * @data: the new item
  *
- * Appends a new item to the ring.  If an item must be removed to make room for
- * the new item, it is freed.
+ * Appends a new item to the ring.
  *
  * Return: the newly added row.
  */



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]