Fix the documentation to use constant
authorMaciej Piechotka <uzytkownik2@gmail.com>
Sun, 17 Nov 2013 23:22:43 +0000 (00:22 +0100)
committerMaciej Piechotka <uzytkownik2@gmail.com>
Wed, 25 Dec 2013 21:33:19 +0000 (22:33 +0100)
gee/queue.vala

index 3658e67..90f3cc0 100644 (file)
@@ -52,12 +52,12 @@ public interface Gee.Queue<G> : Collection<G> {
        public static const int UNBOUNDED_CAPACITY = -1;
 
        /**
-        * The capacity of this queue (or ``null`` if capacity is not bound).
+        * The capacity of this queue (or ``UNBOUNDED_CAPACITY`` if capacity is not bound).
         */
        public abstract int capacity { get; }
 
        /**
-        * The remaining capacity of this queue (or ``null`` if capacity is not
+        * The remaining capacity of this queue (or ``UNBOUNDED_CAPACITY`` if capacity is not
         * bound).
         */
        public abstract int remaining_capacity { get; }