aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-composer-utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/em-composer-utils.c')
-rw-r--r--mail/em-composer-utils.c26
1 files changed, 13 insertions, 13 deletions
diff --git a/mail/em-composer-utils.c b/mail/em-composer-utils.c
index 9b3dbe6cf9..4ed3e70b8f 100644
--- a/mail/em-composer-utils.c
+++ b/mail/em-composer-utils.c
@@ -10,7 +10,7 @@
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
- * License along with the program; if not, see <http://www.gnu.org/licenses/>
+ * License along with the program; if not, see <http://www.gnu.org/licenses/>
*
*
* Authors:
@@ -469,7 +469,7 @@ static void
composer_set_no_change (EMsgComposer *composer, gboolean drop_undo, gboolean editor_changed)
{
GtkhtmlEditor *editor;
-
+
g_return_if_fail (composer != NULL);
editor = GTKHTML_EDITOR (composer);
@@ -662,7 +662,7 @@ create_new_composer (const char *subject, const char *fromuri, gboolean use_defa
if (lite)
composer = e_msg_composer_lite_new ();
else
- composer = e_msg_composer_new ();
+ composer = e_msg_composer_new ();
table = e_msg_composer_get_header_table (composer);
if (fromuri != NULL) {
@@ -773,7 +773,7 @@ edit_message (CamelMimeMessage *message, CamelFolder *drafts, const char *uid)
CamelMimePart *mime_part = CAMEL_MIME_PART (message);
CamelDataWrapper *mail_text;
CamelMultipart *body = camel_multipart_new ();
- CamelStream *stream;
+ CamelStream *stream;
CamelMimePart *part;
int count1 = 0, string_changed = 0;
const char *cur;
@@ -863,8 +863,8 @@ edit_message (CamelMimeMessage *message, CamelFolder *drafts, const char *uid)
}
g_strfreev(temp_str);
- }
- else
+ }
+ else
cur++;
}
@@ -879,7 +879,7 @@ edit_message (CamelMimeMessage *message, CamelFolder *drafts, const char *uid)
mail_text = camel_data_wrapper_new ();
camel_data_wrapper_set_mime_type_field (mail_text, type);
-
+
camel_stream_printf (stream, "%s", g_strdup(str));
camel_data_wrapper_construct_from_stream (mail_text, stream);
@@ -896,10 +896,10 @@ edit_message (CamelMimeMessage *message, CamelFolder *drafts, const char *uid)
camel_object_unref (body);
}
}
-
+
composer = e_msg_composer_new_with_message (message);
-
- if (em_utils_folder_is_templates(drafts, NULL) == TRUE)
+
+ if (em_utils_folder_is_templates(drafts, NULL) == TRUE)
em_composer_utils_setup_callbacks (composer, NULL, NULL, 0, 0, NULL, NULL);
else
em_composer_utils_setup_callbacks (composer, NULL, NULL, 0, 0, drafts, uid);
@@ -925,7 +925,7 @@ em_utils_edit_message (CamelMimeMessage *message, CamelFolder *folder)
if (folder)
edit_message (message, folder, NULL);
else
- edit_message (message, NULL, NULL);
+ edit_message (message, NULL, NULL);
}
static void
@@ -1047,7 +1047,7 @@ forward_attached_cb (CamelFolder *folder, GPtrArray *messages, CamelMimePart *pa
if (part)
forward_attached (folder, fad->uids, messages, part, subject, fad->fromuri);
-
+
g_free (fad->fromuri);
g_free (fad);
}
@@ -2261,7 +2261,7 @@ em_utils_construct_composer_text (CamelMimeMessage *message, EMFormat *source)
char *text, *credits;
ssize_t len = 0;
gboolean start_bottom = 0;
-
+
credits = attribution_format (ATTRIBUTION, message);
text = em_utils_message_to_html (message, credits, EM_FORMAT_QUOTE_CITE, &len, source, start_bottom ? "<BR>" : NULL);