summaryrefslogtreecommitdiffstats
path: root/lasso
diff options
context:
space:
mode:
authorFrederic Peters <fpeters@entrouvert.com>2004-10-28 14:37:07 +0000
committerFrederic Peters <fpeters@entrouvert.com>2004-10-28 14:37:07 +0000
commit543c07ef61d0b7fbb533ebfd2628581657182f43 (patch)
tree414de32bd4a6487ef9612cad4ed3ebebd785f97f /lasso
parent66cc2630b4fffa95b4ab07a733a688b61dd68088 (diff)
downloadlasso-543c07ef61d0b7fbb533ebfd2628581657182f43.tar.gz
lasso-543c07ef61d0b7fbb533ebfd2628581657182f43.tar.xz
lasso-543c07ef61d0b7fbb533ebfd2628581657182f43.zip
removed unused lasso_g_ptr_array_index
Diffstat (limited to 'lasso')
-rw-r--r--lasso/xml/tools.c20
-rw-r--r--lasso/xml/tools.h3
2 files changed, 0 insertions, 23 deletions
diff --git a/lasso/xml/tools.c b/lasso/xml/tools.c
index 66e7946e..722e0b76 100644
--- a/lasso/xml/tools.c
+++ b/lasso/xml/tools.c
@@ -109,26 +109,6 @@ lasso_build_unique_id(guint8 size)
}
/**
- * lasso_g_ptr_array_index:
- * @a: a GPtrArray
- * @i: the index
- *
- * Gets the pointer at the given index @i of the pointer array.
- *
- * Return value: the pointer at the given index.
- **/
-xmlChar*
-lasso_g_ptr_array_index(GPtrArray *a, guint i)
-{
- if (a != NULL) {
- return g_ptr_array_index(a, i);
- }
- else {
- return NULL;
- }
-}
-
-/**
* lasso_get_current_time:
*
* Returns the current time, format is "yyyy-mm-ddThh:mm:ssZ".
diff --git a/lasso/xml/tools.h b/lasso/xml/tools.h
index a2be5414..114d6b8c 100644
--- a/lasso/xml/tools.h
+++ b/lasso/xml/tools.h
@@ -56,9 +56,6 @@ LASSO_EXPORT xmlChar* lasso_build_random_sequence (guint
LASSO_EXPORT xmlChar* lasso_build_unique_id (guint8 size);
-LASSO_EXPORT xmlChar* lasso_g_ptr_array_index (GPtrArray *a,
- guint i);
-
LASSO_EXPORT gchar* lasso_get_current_time (void);
LASSO_EXPORT lassoPemFileType lasso_get_pem_file_type (const gchar *pem_file);