diff options
Diffstat (limited to 'composer/e-msg-composer.c')
-rw-r--r-- | composer/e-msg-composer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c index f0bb36633f..56035b1aea 100644 --- a/composer/e-msg-composer.c +++ b/composer/e-msg-composer.c @@ -6262,7 +6262,7 @@ e_msg_composer_unset_autosaved (EMsgComposer *composer) * * Returns the text/plain of the message from composer **/ -const gchar * +GByteArray * e_msg_composer_get_raw_message_text (EMsgComposer *composer) { GByteArray *data = NULL; @@ -6271,7 +6271,7 @@ e_msg_composer_get_raw_message_text (EMsgComposer *composer) data = get_text (p->persist_stream_interface, "text/plain"); if (data) - return (const gchar *)data->data; + return data; return NULL; } |