Renamed g_queue_create to g_queue_new in conformance to all other GLib
authorSebastian Wilhelmi <wilhelmi@ira.uka.de>
Mon, 17 Apr 2000 10:31:10 +0000 (10:31 +0000)
committerSebastian Wilhelmi <wilhelmi@src.gnome.org>
Mon, 17 Apr 2000 10:31:10 +0000 (10:31 +0000)
2000-04-17  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

* 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
glib/glib.h
glib/gqueue.c
gqueue.c
tests/queue-test.c

diff --git a/glib.h b/glib.h
index b2a289a4a30dfc14eff515b57ebd42f1f1501e52..07724137358b903bd4abab1d4b040cfa4534f0dc 100644 (file)
--- 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);
index b2a289a4a30dfc14eff515b57ebd42f1f1501e52..07724137358b903bd4abab1d4b040cfa4534f0dc 100644 (file)
@@ -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);
index 46730a51a3d23533ada265f0975083fede3b7aad..1616ea9a1132a4a1b0eb34585492f6137ff8469b 100644 (file)
@@ -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;
 
index 46730a51a3d23533ada265f0975083fede3b7aad..1616ea9a1132a4a1b0eb34585492f6137ff8469b 100644 (file)
--- 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;
 
index 21f47d9f991bcf0257282e6cd8554263a872fbc3..a519e3dc21a60a415954d078d280d160f3ce74ef 100644 (file)
@@ -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);