mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-23 04:36:17 +01:00
Return -1 if queue is NULL. (#159530, Philippe Blain)
2004-12-04 Matthias Clasen <mclasen@redhat.com> * glib/gqueue.c (g_queue_link_index): Return -1 if queue is NULL. (#159530, Philippe Blain)
This commit is contained in:
parent
1f282dc200
commit
bd177ce103
@ -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.
|
||||
|
@ -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.
|
||||
|
@ -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.
|
||||
|
@ -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.
|
||||
|
@ -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.
|
||||
|
@ -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_);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user