diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2009-09-15 18:15:53 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2009-09-15 18:26:52 +0800 |
commit | 591bcbeb910e0d90dc4076f09c23074c96a2e857 (patch) | |
tree | 16514386d71fae7761beeb2efba10dd918718dae /e-util/e-util.c | |
parent | 2e113a61cc18428ecb603374dfcc833c5e276422 (diff) | |
download | gsoc2013-evolution-591bcbeb910e0d90dc4076f09c23074c96a2e857.tar.gz gsoc2013-evolution-591bcbeb910e0d90dc4076f09c23074c96a2e857.tar.zst gsoc2013-evolution-591bcbeb910e0d90dc4076f09c23074c96a2e857.zip |
Remove a bunch of unused functions.
Diffstat (limited to 'e-util/e-util.c')
-rw-r--r-- | e-util/e-util.c | 53 |
1 files changed, 0 insertions, 53 deletions
diff --git a/e-util/e-util.c b/e-util/e-util.c index 3c004e57cb..f92869ebaa 100644 --- a/e-util/e-util.c +++ b/e-util/e-util.c @@ -1180,59 +1180,6 @@ e_ascii_dtostr (gchar *buffer, gint buf_len, const gchar *format, gdouble d) return buffer; } -gchar * -e_strdup_append_strings (gchar *first_string, ...) -{ - gchar *buffer; - gchar *current; - gint length; - va_list args1; - va_list args2; - gchar *v_string; - gint v_int; - - va_start (args1, first_string); - G_VA_COPY (args2, args1); - - length = 0; - - v_string = first_string; - while (v_string) { - v_int = va_arg (args1, gint); - if (v_int >= 0) - length += v_int; - else - length += strlen (v_string); - v_string = va_arg (args1, gchar *); - } - - buffer = g_new (gchar, length + 1); - current = buffer; - - v_string = first_string; - while (v_string) { - v_int = va_arg (args2, gint); - if (v_int < 0) { - gint i; - for (i = 0; v_string[i]; i++) { - *(current++) = v_string[i]; - } - } else { - gint i; - for (i = 0; v_string[i] && i < v_int; i++) { - *(current++) = v_string[i]; - } - } - v_string = va_arg (args2, gchar *); - } - *(current++) = 0; - - va_end (args1); - va_end (args2); - - return buffer; -} - /* font options cache */ static gchar *fo_antialiasing = NULL, *fo_hinting = NULL, *fo_subpixel_order = NULL; static GStaticMutex fo_lock = G_STATIC_MUTEX_INIT; |