[evolution-rss] Adapt to Evolution 3.37.2 EContentEditor changes
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-rss] Adapt to Evolution 3.37.2 EContentEditor changes
- Date: Tue, 5 May 2020 07:33:51 +0000 (UTC)
commit 0bbf522d0e096443df6387b588d7179a4a99ddb3
Author: Milan Crha <mcrha redhat com>
Date: Tue May 5 09:36:53 2020 +0200
Adapt to Evolution 3.37.2 EContentEditor changes
src/rss.c | 4 ++++
1 file changed, 4 insertions(+)
---
diff --git a/src/rss.c b/src/rss.c
index 4470336..3b2cf3b 100644
--- a/src/rss.c
+++ b/src/rss.c
@@ -1348,8 +1348,12 @@ org_gnome_evolution_presend (EPlugin *ep, EMEventTargetComposer *t)
editor = e_msg_composer_get_editor (t->composer);
#if EVOLUTION_VERSION >= 32190
+#if EVOLUTION_VERSION >= 33702
+ text = g_strdup (e_content_editor_util_get_content_data (e_msg_composer_get_content_hash
(t->composer), E_CONTENT_EDITOR_GET_TO_SEND_HTML));
+#else
cnt_editor = e_html_editor_get_content_editor (editor);
text = e_content_editor_get_content (cnt_editor, E_CONTENT_EDITOR_GET_TEXT_HTML, NULL, NULL);
+#endif
#else
view = e_html_editor_get_view (editor);
#if EVOLUTION_VERSION >= 31390
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]