aboutsummaryrefslogtreecommitdiffstats
path: root/camel/gstring-util.h
diff options
context:
space:
mode:
authorMichael Zucci <zucchi@src.gnome.org>2000-05-03 04:37:06 +0800
committerMichael Zucci <zucchi@src.gnome.org>2000-05-03 04:37:06 +0800
commit44575d972d94ce00b0e7c5d46bbb59761d5c840d (patch)
treed2624f4d14afb5aebc8b2ef0f323db27258a5080 /camel/gstring-util.h
parentcf99b8eec231365fedce7d7930ded14334da3741 (diff)
downloadgsoc2013-evolution-44575d972d94ce00b0e7c5d46bbb59761d5c840d.tar
gsoc2013-evolution-44575d972d94ce00b0e7c5d46bbb59761d5c840d.tar.gz
gsoc2013-evolution-44575d972d94ce00b0e7c5d46bbb59761d5c840d.tar.bz2
gsoc2013-evolution-44575d972d94ce00b0e7c5d46bbb59761d5c840d.tar.lz
gsoc2013-evolution-44575d972d94ce00b0e7c5d46bbb59761d5c840d.tar.xz
gsoc2013-evolution-44575d972d94ce00b0e7c5d46bbb59761d5c840d.tar.zst
gsoc2013-evolution-44575d972d94ce00b0e7c5d46bbb59761d5c840d.zip
> * 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
Diffstat (limited to 'camel/gstring-util.h')
-rw-r--r--camel/gstring-util.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/camel/gstring-util.h b/camel/gstring-util.h
index 01cdeffd76..487bbc8a3b 100644
--- a/camel/gstring-util.h
+++ b/camel/gstring-util.h
@@ -38,14 +38,6 @@ extern "C" {
#include <glib.h>
typedef enum {
- GSTRING_DICHOTOMY_NONE = 0,
- GSTRING_DICHOTOMY_RIGHT_DIR = 1,
- GSTRING_DICHOTOMY_STRIP_TRAILING = 2,
- GSTRING_DICHOTOMY_STRIP_LEADING = 4
-
-} GStringDichotomyOption;
-
-typedef enum {
GSTRING_TRIM_NONE = 0,
GSTRING_TRIM_STRIP_TRAILING = 1,
GSTRING_TRIM_STRIP_LEADING = 2
@@ -54,9 +46,6 @@ typedef enum {
gboolean g_string_equals (GString *string1, GString *string2);
GString *g_string_clone (GString *string);
-gchar g_string_dichotomy (GString *string, gchar sep,
- GString **prefix, GString **suffix,
- GStringDichotomyOption options);
void g_string_append_g_string (GString *dest_string,
GString *other_string);