aboutsummaryrefslogtreecommitdiffstats
path: root/camel
diff options
context:
space:
mode:
Diffstat (limited to 'camel')
-rw-r--r--camel/ChangeLog10
-rw-r--r--camel/camel-mime-part.c1
-rw-r--r--camel/camel-simple-data-wrapper.c7
-rw-r--r--camel/data-wrapper-repository.c6
-rw-r--r--camel/gmime-content-field.c1
5 files changed, 14 insertions, 11 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog
index f6172a9198..4b837a4a3b 100644
--- a/camel/ChangeLog
+++ b/camel/ChangeLog
@@ -1,3 +1,13 @@
+2000-03-31 Dan Winship <danw@helixcode.com>
+
+ * gmime-content-field.c
+ (gmime_content_field_construct_from_string):
+ * data-wrapper-repository.c
+ (data_wrapper_repository_get_data_wrapper_type):
+ * camel-simple-data-wrapper.c (my_write_to_stream):
+ * camel-mime-part.c (my_set_input_stream):
+ remove debugging printf()s that no longer seem useful.
+
2000-03-31 Matt Loper <matt@helixcode.com>
* camel-formatter.c (text_to_html): Added "convert_newlines_to_br"
diff --git a/camel/camel-mime-part.c b/camel/camel-mime-part.c
index 1fb3084ad3..5fdd856144 100644
--- a/camel/camel-mime-part.c
+++ b/camel/camel-mime-part.c
@@ -870,7 +870,6 @@ my_set_input_stream (CamelDataWrapper *data_wrapper, CamelStream *stream)
/* set the input stream for the content object */
content_stream_inf_bound = camel_seekable_stream_get_current_position (seekable_stream);
- printf ("Current position = %d\n", content_stream_inf_bound);
if (mime_part->content_input_stream)
gtk_object_unref (GTK_OBJECT (mime_part->content_input_stream));
diff --git a/camel/camel-simple-data-wrapper.c b/camel/camel-simple-data-wrapper.c
index f06d4d3485..b0f4553360 100644
--- a/camel/camel-simple-data-wrapper.c
+++ b/camel/camel-simple-data-wrapper.c
@@ -140,13 +140,10 @@ my_write_to_stream (CamelDataWrapper *data_wrapper, CamelStream *stream)
g_assert (stream);
array = simple_data_wrapper->byte_array;
- if ( array && array->len) {
- printf ("In simple data wrapper::write_to_stream, there is an array\n");
+ if ( array && array->len)
camel_stream_write (stream, (gchar *)array->data, array->len);
- } else {
- printf ("In simple data wrapper::write_to_stream, there is no array\n");
+ else
parent_class->write_to_stream (data_wrapper, stream);
- }
CAMEL_LOG_FULL_DEBUG ("CamelSimpleDataWrapper:: Leaving my_write_to_stream\n");
}
diff --git a/camel/data-wrapper-repository.c b/camel/data-wrapper-repository.c
index 3e646cb71c..f433383b85 100644
--- a/camel/data-wrapper-repository.c
+++ b/camel/data-wrapper-repository.c
@@ -108,13 +108,10 @@ data_wrapper_repository_get_data_wrapper_type (const gchar *mime_type)
gchar *old_mime_type;
GtkType gtk_type;
- printf("looking up type '%s'\n", mime_type);
-
/* find if the complete mime type exists */
exists = g_hash_table_lookup_extended (_repository.mime_links, (gpointer)mime_type,
(gpointer)&old_mime_type, (gpointer)&gtk_type);
if (exists) { /* the complete mime type exists, return it */
- printf( "exists!\n");
return gtk_type;
} else {
/* the complete mime type association does not exists */
@@ -125,7 +122,8 @@ data_wrapper_repository_get_data_wrapper_type (const gchar *mime_type)
if (exists) /* the main mime type association exists */
return gtk_type;
- else return camel_simple_data_wrapper_get_type();
+ else
+ return camel_simple_data_wrapper_get_type();
}
diff --git a/camel/gmime-content-field.c b/camel/gmime-content-field.c
index 07924c1915..7aa4885511 100644
--- a/camel/gmime-content-field.c
+++ b/camel/gmime-content-field.c
@@ -370,7 +370,6 @@ gmime_content_field_construct_from_string (GMimeContentField *content_field, con
if (i != first) param_value = g_strndup (string+first, i-first);
else param_value = g_strdup ("");
CAMEL_LOG_TRACE ( "GMimeContentField::construct_from_string, Found mime parameter \"%s\"=\"%s\"\n", param_name, param_value);
- printf( "GMimeContentField::construct_from_string, Found mime parameter \"%s\"=\"%s\"\n", param_name, param_value);
string_trim (param_value, " \t\"", STRING_TRIM_STRIP_TRAILING | STRING_TRIM_STRIP_LEADING);
gmime_content_field_set_parameter (content_field, param_name, param_value);
g_free (param_name);