From 44575d972d94ce00b0e7c5d46bbb59761d5c840d Mon Sep 17 00:00:00 2001 From: Michael Zucci Date: Tue, 2 May 2000 20:37:06 +0000 Subject: > * gmime-utils.[ch]: What the hell, remove it. This will break the > nntp provider (but its broken anyway). The mime parser can be > used instead though. > Removed from all code including it (but none were using it). > > * gmime-utils.c (_store_header_pair_from_string): Removed bizarre > string_dichotomy version of this. This code is somewhat redundant > now, and is headed for death anyway. > > * gstring-util.c (g_string_dichotomy): Same with this one. > (g_string_clone): Removed a memory leak, g_string_new() allocates > its own memory. > (g_string_append_g_string): Allow to append an empty gstring onto > another gstring, dont abort()! > > * string-utils.c (string_dichotomy): Removed this incredibly weird > function. > > * camel-folder.c (_create): Replaced the rather obtuse use of > "string_dichotomy" function with a simple strrchr(). Still not > sure it'll work. > > * camel-folder-summary.c: cvs removed a long-removed file. svn path=/trunk/; revision=2753 --- camel/string-utils.h | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'camel/string-utils.h') diff --git a/camel/string-utils.h b/camel/string-utils.h index e63c332897..665aafc01e 100644 --- a/camel/string-utils.h +++ b/camel/string-utils.h @@ -37,17 +37,6 @@ extern "C" { #include - - -typedef enum { - STRING_DICHOTOMY_NONE = 0, - STRING_DICHOTOMY_RIGHT_DIR = 1, - STRING_DICHOTOMY_STRIP_TRAILING = 2, - STRING_DICHOTOMY_STRIP_LEADING = 4 - -} StringDichotomyOption; - - typedef enum { STRING_TRIM_NONE = 0, STRING_TRIM_STRIP_TRAILING = 1, @@ -58,9 +47,6 @@ typedef enum { gboolean string_equal_for_glist (gconstpointer v, gconstpointer v2); -gchar string_dichotomy (const gchar *string, gchar sep, - gchar **prefix, gchar **suffix, - StringDichotomyOption options); void string_list_free (GList *string_list); GList *string_split (const gchar *string, char sep, -- cgit