From 8f02fac4ad1e846f3075ae8b057b387e6365c0ca Mon Sep 17 00:00:00 2001 From: Sebastian Wilhelmi Date: Mon, 17 Apr 2000 10:31:10 +0000 Subject: [PATCH] Renamed g_queue_create to g_queue_new in conformance to all other GLib 2000-04-17 Sebastian Wilhelmi * glib.h, gqueue.c, tests/queue-test.c (main): Renamed g_queue_create to g_queue_new in conformance to all other GLib data types. --- glib.h | 2 +- glib/glib.h | 2 +- glib/gqueue.c | 2 +- gqueue.c | 2 +- tests/queue-test.c | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/glib.h b/glib.h index b2a289a4a..077241373 100644 --- a/glib.h +++ b/glib.h @@ -1059,7 +1059,7 @@ gpointer g_slist_nth_data (GSList *list, /* Queues */ -GQueue* g_queue_create (void); +GQueue* g_queue_new (void); void g_queue_free (GQueue *queue); void g_queue_push_head (GQueue *queue, gpointer data); diff --git a/glib/glib.h b/glib/glib.h index b2a289a4a..077241373 100644 --- a/glib/glib.h +++ b/glib/glib.h @@ -1059,7 +1059,7 @@ gpointer g_slist_nth_data (GSList *list, /* Queues */ -GQueue* g_queue_create (void); +GQueue* g_queue_new (void); void g_queue_free (GQueue *queue); void g_queue_push_head (GQueue *queue, gpointer data); diff --git a/glib/gqueue.c b/glib/gqueue.c index 46730a51a..1616ea9a1 100644 --- a/glib/gqueue.c +++ b/glib/gqueue.c @@ -32,7 +32,7 @@ static GMemChunk *queue_memchunk = NULL; static GTrashStack *free_queue_nodes = NULL; GQueue* -g_queue_create (void) +g_queue_new (void) { GQueue *queue; diff --git a/gqueue.c b/gqueue.c index 46730a51a..1616ea9a1 100644 --- a/gqueue.c +++ b/gqueue.c @@ -32,7 +32,7 @@ static GMemChunk *queue_memchunk = NULL; static GTrashStack *free_queue_nodes = NULL; GQueue* -g_queue_create (void) +g_queue_new (void) { GQueue *queue; diff --git a/tests/queue-test.c b/tests/queue-test.c index 21f47d9f9..a519e3dc2 100644 --- a/tests/queue-test.c +++ b/tests/queue-test.c @@ -9,7 +9,7 @@ int main() GList *node; gpointer data; - q = g_queue_create (); + q = g_queue_new (); g_assert (g_queue_is_empty (q) == TRUE);