summaryrefslogtreecommitdiffstats
path: root/eglib
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2007-01-21 16:27:41 +0000
committerJohan Hedberg <johan.hedberg@nokia.com>2007-01-21 16:27:41 +0000
commit91fcf748ea86a85685af4bee5fb269285e3e91ca (patch)
tree12fa2c97e5d97f6e6500f7c584ebffff8b7fdc73 /eglib
parent8f490d50d839a9a0f5efe212faa88c7940c553b5 (diff)
Get rid of g_strfreev too
Diffstat (limited to 'eglib')
-rw-r--r--eglib/gmain.c13
-rw-r--r--eglib/gmain.h1
2 files changed, 0 insertions, 14 deletions
diff --git a/eglib/gmain.c b/eglib/gmain.c
index 714aba13..102e8bc9 100644
--- a/eglib/gmain.c
+++ b/eglib/gmain.c
@@ -1160,19 +1160,6 @@ gchar *g_strdup(const gchar *str)
return s;
}
-void g_strfreev(gchar **str_array)
-{
- int i;
-
- if (!str_array)
- return;
-
- for (i = 0; str_array[i] != NULL; i++)
- g_free(str_array[i]);
-
- g_free(str_array);
-}
-
/* GKeyFile */
typedef gpointer GHashTable;
diff --git a/eglib/gmain.h b/eglib/gmain.h
index 369602d8..9d2418ef 100644
--- a/eglib/gmain.h
+++ b/eglib/gmain.h
@@ -200,7 +200,6 @@ gpointer g_try_malloc0(gulong n_bytes);
void g_free(gpointer mem);
gchar *g_strdup(const gchar *str);
-void g_strfreev(gchar **str_array);
#define g_new(struct_type, n_structs) \
((struct_type *) g_malloc (((gsize) sizeof (struct_type)) * ((gsize) (n_structs))))