[libgee/0.6] Ommited change to fix build
- From: Maciej Marcin Piechotka <mpiechotka src gnome org>
- To: commits-list gnome org
- Cc: 
- Subject: [libgee/0.6] Ommited change to fix build
- Date: Sat,  6 Oct 2012 11:11:22 +0000 (UTC)
commit f9493a00f32c0912eb6ab03762b8b3094bc09cb8
Author: Maciej Piechotka <uzytkownik2 gmail com>
Date:   Sat Oct 6 12:11:04 2012 +0100
    Ommited change to fix build
 gee/priorityqueue.vala |    8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)
---
diff --git a/gee/priorityqueue.vala b/gee/priorityqueue.vala
index 9a67367..e31601c 100644
--- a/gee/priorityqueue.vala
+++ b/gee/priorityqueue.vala
@@ -1145,11 +1145,9 @@ public class Gee.PriorityQueue<G> : Gee.AbstractQueue<G> {
 
 		public bool first () {
 			assert (stamp == queue._stamp);
-			position = queue._r;
-			started = false;
-			from_type1_children = false;
-			from_type2_child = false;
-			return next ();
+			position = queue._iter_head;
+			previous = null;
+			return position != null;
 		}
 
 		public new G get () {
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]