From 1e53d84b6ce518a8433ca3a59cf15ab725d21f94 Mon Sep 17 00:00:00 2001 From: Nick Treleaven Date: Mon, 14 Sep 2009 17:26:11 +0000 Subject: [PATCH] Add warning that GeanyQueue may be removed. git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4189 ea778897-0a13-0410-b9d1-a72fbfd435f5 --- ChangeLog | 2 ++ src/queue.c | 10 ++++++---- src/queue.h | 3 +++ 3 files changed, 11 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 7334f48f..c43c0b60 100644 --- a/ChangeLog +++ b/ChangeLog @@ -14,6 +14,8 @@ Make dialogs_show_question_full() use GTK dialog on Windows if button text is not the stock yes/no items. Add dialogs_show_prompt() which also has an 'Apply' button. + * src/queue.c, src/queue.h: + Add warning that GeanyQueue may be removed. 2009-09-13 Nick Treleaven diff --git a/src/queue.c b/src/queue.c index 066fc3a8..eb16637c 100644 --- a/src/queue.c +++ b/src/queue.c @@ -20,10 +20,12 @@ * $Id$ */ -/* - * This provides a simple single linked list, with some functons to modify it. - * Being a queue, you can append data only to the end of the list, end retrieve - * data from the beginning. Only the first node is directly visible, but with the several foreach +/* WARNING: Do not use this in new code, use GQueue or GList instead - this code may be + * removed. + * + * This provides a simple single linked list, with some functions to modify it. + * Being a queue, you can append data only to the end of the list, and retrieve + * data from the beginning. Only the first node is directly visible, but with the foreach * functions you can iterate through the entire list. */ diff --git a/src/queue.h b/src/queue.h index 89be7c97..80e738b9 100644 --- a/src/queue.h +++ b/src/queue.h @@ -20,6 +20,9 @@ * $Id$ */ +/* WARNING: Do not use this in new code, use GQueue or GList instead - this code may be + * removed. */ + #ifndef __QUEUE_H__ #define __QUEUE_H__