diff options
-rw-r--r-- | eglib/gmain.c | 13 | ||||
-rw-r--r-- | eglib/gmain.h | 1 |
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)))) |