/* Returns: the data of the last element in the queue, or NULL if the queue is empty  */
gpointer g_queue_peek_tail(GQueue *queue)
/* Returns: the data of the last element in the queue, or NULL if the queue is empty  */
gpointer g_queue_peek_tail(GQueue *queue)
{
  g_return_val_if_fail (queue != NULL, NULL);
  return queue->tail ? queue->tail->data : NULL;
}