summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--ChangeLog.pre-2-105
-rw-r--r--ChangeLog.pre-2-125
-rw-r--r--ChangeLog.pre-2-65
-rw-r--r--ChangeLog.pre-2-85
-rw-r--r--glib/gqueue.c2
6 files changed, 26 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index d685e8747..9e49f4bba 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2004-12-04 Matthias Clasen <mclasen@redhat.com>
+
+ * glib/gqueue.c (g_queue_link_index): Return -1 if queue is
+ NULL. (#159530, Philippe Blain)
+
2004-12-02 Matthias Clasen <mclasen@redhat.com>
* configure.in: Bump version.
diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10
index d685e8747..9e49f4bba 100644
--- a/ChangeLog.pre-2-10
+++ b/ChangeLog.pre-2-10
@@ -1,3 +1,8 @@
+2004-12-04 Matthias Clasen <mclasen@redhat.com>
+
+ * glib/gqueue.c (g_queue_link_index): Return -1 if queue is
+ NULL. (#159530, Philippe Blain)
+
2004-12-02 Matthias Clasen <mclasen@redhat.com>
* configure.in: Bump version.
diff --git a/ChangeLog.pre-2-12 b/ChangeLog.pre-2-12
index d685e8747..9e49f4bba 100644
--- a/ChangeLog.pre-2-12
+++ b/ChangeLog.pre-2-12
@@ -1,3 +1,8 @@
+2004-12-04 Matthias Clasen <mclasen@redhat.com>
+
+ * glib/gqueue.c (g_queue_link_index): Return -1 if queue is
+ NULL. (#159530, Philippe Blain)
+
2004-12-02 Matthias Clasen <mclasen@redhat.com>
* configure.in: Bump version.
diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6
index d685e8747..9e49f4bba 100644
--- a/ChangeLog.pre-2-6
+++ b/ChangeLog.pre-2-6
@@ -1,3 +1,8 @@
+2004-12-04 Matthias Clasen <mclasen@redhat.com>
+
+ * glib/gqueue.c (g_queue_link_index): Return -1 if queue is
+ NULL. (#159530, Philippe Blain)
+
2004-12-02 Matthias Clasen <mclasen@redhat.com>
* configure.in: Bump version.
diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8
index d685e8747..9e49f4bba 100644
--- a/ChangeLog.pre-2-8
+++ b/ChangeLog.pre-2-8
@@ -1,3 +1,8 @@
+2004-12-04 Matthias Clasen <mclasen@redhat.com>
+
+ * glib/gqueue.c (g_queue_link_index): Return -1 if queue is
+ NULL. (#159530, Philippe Blain)
+
2004-12-02 Matthias Clasen <mclasen@redhat.com>
* configure.in: Bump version.
diff --git a/glib/gqueue.c b/glib/gqueue.c
index 0d57b4877..54be19a93 100644
--- a/glib/gqueue.c
+++ b/glib/gqueue.c
@@ -730,7 +730,7 @@ gint
g_queue_link_index (GQueue *queue,
GList *link_)
{
- g_return_val_if_fail (queue != NULL, 0);
+ g_return_val_if_fail (queue != NULL, -1);
return g_list_position (queue->head, link_);
}