diff options
author | Dan Winship <danw@src.gnome.org> | 2000-04-01 12:16:39 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2000-04-01 12:16:39 +0800 |
commit | 74b6039c5287b433038a5ece91874f19a862a184 (patch) | |
tree | a4686a56eb5ce72155065a6ea52182a2ccf04225 | |
parent | cd8753df965d89d32d66e0ed4ba28311ac1f22eb (diff) | |
download | gsoc2013-evolution-74b6039c5287b433038a5ece91874f19a862a184.tar.gz gsoc2013-evolution-74b6039c5287b433038a5ece91874f19a862a184.tar.zst gsoc2013-evolution-74b6039c5287b433038a5ece91874f19a862a184.zip |
remove debugging printf()s that no longer seem useful
svn path=/trunk/; revision=2274
-rw-r--r-- | camel/ChangeLog | 10 | ||||
-rw-r--r-- | camel/camel-mime-part.c | 1 | ||||
-rw-r--r-- | camel/camel-simple-data-wrapper.c | 7 | ||||
-rw-r--r-- | camel/data-wrapper-repository.c | 6 | ||||
-rw-r--r-- | camel/gmime-content-field.c | 1 | ||||
-rw-r--r-- | mail/ChangeLog | 9 | ||||
-rw-r--r-- | mail/folder-browser-factory.c | 1 | ||||
-rw-r--r-- | mail/folder-browser.c | 2 | ||||
-rw-r--r-- | mail/message-list.c | 9 |
9 files changed, 24 insertions, 22 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)>k_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); diff --git a/mail/ChangeLog b/mail/ChangeLog index 100c10122f..cd5838a142 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,12 @@ +2000-03-31 Dan Winship <danw@helixcode.com> + + * folder-browser-factory.c (folder_browser_set_shell): + * folder-browser.c (folder_browser_new): + * message-list.c (on_row_selection_cmd, select_msg, + message_list_init, message_list_set_folder): + + remove debugging printf()s that no longer seem useful + 2000-03-29 Dan Winship <danw@helixcode.com> * folder-browser-factory.c (control_activate): build a toolbar. diff --git a/mail/folder-browser-factory.c b/mail/folder-browser-factory.c index 9a33b407fe..787e504693 100644 --- a/mail/folder-browser-factory.c +++ b/mail/folder-browser-factory.c @@ -38,7 +38,6 @@ folder_browser_set_shell (EvolutionServiceRepository *sr, CORBA_exception_init (&ev); folder_browser = FOLDER_BROWSER (closure); - printf ("I AM A FOLDER BROWSER AND I AM STORING THE SHELL\n"); /* FIXME : ref the shell here */ folder_browser->shell = shell; diff --git a/mail/folder-browser.c b/mail/folder-browser.c index 9a3a8cee9c..426bfeafe9 100644 --- a/mail/folder-browser.c +++ b/mail/folder-browser.c @@ -211,8 +211,6 @@ folder_browser_new (void) FolderBrowser *folder_browser = gtk_type_new (folder_browser_get_type ()); my_folder_browser_init (GTK_OBJECT (folder_browser)); - - printf ("Widget started\n"); return GTK_WIDGET (folder_browser); } diff --git a/mail/message-list.c b/mail/message-list.c index db5ea0ea26..f84d0d2797 100644 --- a/mail/message-list.c +++ b/mail/message-list.c @@ -85,7 +85,6 @@ select_msg (MessageList *message_list, gint row) g_ptr_array_free (msg_info_array, TRUE); - printf ("Message = %p\n", message); if (message) mail_display_set_message (message_list->parent_folder_browser->mail_display, CAMEL_MEDIUM (message)); @@ -430,7 +429,6 @@ message_list_init (GtkObject *object) message_list_init_renderers (message_list); message_list_init_header (message_list); - printf ("headers intialized\n"); /* * The etable @@ -650,7 +648,6 @@ message_list_set_folder (MessageList *message_list, CamelFolder *camel_folder) gtk_object_ref (GTK_OBJECT (camel_folder)); - printf ("Modelo cambio!\n"); e_table_model_changed (message_list->table_model); select_msg (message_list, 0); @@ -677,11 +674,7 @@ on_row_selection_cmd (ETable *table, message_list = MESSAGE_LIST (user_data); - if ( selected ) { - g_print ("Row %d selected\n", row); + if ( selected ) select_msg (message_list, row); - } else { - g_print ("Row %d unselected\n", row); - } } |