summaryrefslogtreecommitdiff
path: root/src/glib-utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/glib-utils.c')
-rw-r--r--src/glib-utils.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/glib-utils.c b/src/glib-utils.c
index 1b0f1f9..a4f8d26 100644
--- a/src/glib-utils.c
+++ b/src/glib-utils.c
@@ -568,22 +568,6 @@ get_time_string (time_t time)
}
-GPtrArray *
-g_ptr_array_copy (GPtrArray *array)
-{
- GPtrArray *new_array;
-
- if (array == NULL)
- return NULL;
-
- new_array = g_ptr_array_sized_new (array->len);
- memcpy (new_array->pdata, array->pdata, array->len * sizeof (gpointer));
- new_array->len = array->len;
-
- return new_array;
-}
-
-
void
g_ptr_array_free_full (GPtrArray *array,
GFunc free_func,