diff options
| author | Johan Hedberg <johan.hedberg@nokia.com> | 2007-01-21 16:27:41 +0000 | 
|---|---|---|
| committer | Johan Hedberg <johan.hedberg@nokia.com> | 2007-01-21 16:27:41 +0000 | 
| commit | 91fcf748ea86a85685af4bee5fb269285e3e91ca (patch) | |
| tree | 12fa2c97e5d97f6e6500f7c584ebffff8b7fdc73 | |
| parent | 8f490d50d839a9a0f5efe212faa88c7940c553b5 (diff) | |
Get rid of g_strfreev too
| -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)))) | 
