aboutsummaryrefslogtreecommitdiffstats
path: root/camel/gmime-content-field.c
diff options
context:
space:
mode:
authorNotZed <notzed@zedzone.helixcode.com>2000-02-10 13:03:43 +0800
committerMichael Zucci <zucchi@src.gnome.org>2000-02-10 13:03:43 +0800
commit4a2a09a7bae99778d6e11df7da7d0a166815030f (patch)
tree6c7f2ca1ce6327075a40178f400fc74eaefcfd61 /camel/gmime-content-field.c
parent3ef8dbd93ad44e08503f69d4929428362fc383ea (diff)
downloadgsoc2013-evolution-4a2a09a7bae99778d6e11df7da7d0a166815030f.tar.gz
gsoc2013-evolution-4a2a09a7bae99778d6e11df7da7d0a166815030f.tar.zst
gsoc2013-evolution-4a2a09a7bae99778d6e11df7da7d0a166815030f.zip
Removed a bizarre comparison construct for converting case.
2000-02-10 NotZed <notzed@zedzone.helixcode.com> * camel/hash-table-utils.c (g_strcase_hash): Removed a bizarre comparison construct for converting case. 2000-02-09 NotZed <notzed@zedzone.helixcode.com> * camel/data-wrapper-repository.c (data_wrapper_repository_init): Uses case-insensitive compares. * camel/gmime-content-field.c (gmime_content_field_new): Uses case-insensitive compares. svn path=/trunk/; revision=1723
Diffstat (limited to 'camel/gmime-content-field.c')
-rw-r--r--camel/gmime-content-field.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/camel/gmime-content-field.c b/camel/gmime-content-field.c
index 3c1f4fbc7b..bec9721e0a 100644
--- a/camel/gmime-content-field.c
+++ b/camel/gmime-content-field.c
@@ -29,7 +29,7 @@
#include "string-utils.h"
#include "camel-log.h"
#include <string.h>
-
+#include "hash-table-utils.h"
/**
* gmime_content_field_new: Creates a new GMimeContentField object
@@ -52,7 +52,7 @@ gmime_content_field_new (const gchar *type, const gchar *subtype)
ctf = g_new (GMimeContentField, 1);
ctf->type = g_strdup (type);
ctf->subtype = g_strdup (subtype);
- ctf->parameters = g_hash_table_new (g_str_hash, g_str_equal);
+ ctf->parameters = g_hash_table_new (g_strcase_hash, g_strcase_equal);
ctf->ref = 1;
return ctf;