[evolution] I#917 - Crash under html_editor_update_actions
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] I#917 - Crash under html_editor_update_actions
- Date: Mon, 11 May 2020 16:27:38 +0000 (UTC)
commit 1612f38e670a234987eba7f773aade83def24baf
Author: Milan Crha <mcrha redhat com>
Date: Mon May 11 18:30:48 2020 +0200
I#917 - Crash under html_editor_update_actions
Closes https://gitlab.gnome.org/GNOME/evolution/-/issues/917
src/e-util/e-html-editor.c | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/src/e-util/e-html-editor.c b/src/e-util/e-html-editor.c
index bb0c998ec1..14bdd19f36 100644
--- a/src/e-util/e-html-editor.c
+++ b/src/e-util/e-html-editor.c
@@ -318,8 +318,11 @@ html_editor_inline_spelling_suggestions (EHTMLEditor *editor,
* child of the proxy widget. */
gtk_ui_manager_ensure_update (manager);
proxies = gtk_action_get_proxies (action);
- child = gtk_bin_get_child (proxies->data);
- g_object_set (child, "use-markup", TRUE, NULL);
+
+ if (proxies) {
+ child = gtk_bin_get_child (proxies->data);
+ g_object_set (child, "use-markup", TRUE, NULL);
+ }
g_free (action_name);
g_free (action_label);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]