aboutsummaryrefslogtreecommitdiffstats
path: root/composer
diff options
context:
space:
mode:
Diffstat (limited to 'composer')
-rw-r--r--composer/e-msg-composer.c6
-rw-r--r--composer/e-msg-composer.h2
2 files changed, 5 insertions, 3 deletions
diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c
index 9f011a26e1..7439007ae4 100644
--- a/composer/e-msg-composer.c
+++ b/composer/e-msg-composer.c
@@ -4078,18 +4078,20 @@ e_msg_composer_new_from_url (EShell *shell,
* e_msg_composer_set_body_text:
* @composer: a composer object
* @text: the HTML text to initialize the editor with
+ * @update_signature: whether update signature in the text after setting it;
+ * Might be usually called with TRUE.
*
* Loads the given HTML text into the editor.
**/
void
e_msg_composer_set_body_text (EMsgComposer *composer,
const gchar *text,
- gssize len)
+ gboolean update_signature)
{
g_return_if_fail (E_IS_MSG_COMPOSER (composer));
g_return_if_fail (text != NULL);
- set_editor_text (composer, text, TRUE);
+ set_editor_text (composer, text, update_signature);
}
/**
diff --git a/composer/e-msg-composer.h b/composer/e-msg-composer.h
index 2fe912d7a8..296bb35a2f 100644
--- a/composer/e-msg-composer.h
+++ b/composer/e-msg-composer.h
@@ -110,7 +110,7 @@ void e_msg_composer_print (EMsgComposer *composer,
void e_msg_composer_set_body_text (EMsgComposer *composer,
const gchar *text,
- gssize len);
+ gboolean update_signature);
void e_msg_composer_set_body (EMsgComposer *composer,
const gchar *body,
const gchar *mime_type);