[evolution] ECompEditorMemo: Invalid cast of a widget object



commit ead51a8850b73d195c18ba13dad9d4e56b30dcf0
Author: Milan Crha <mcrha redhat com>
Date:   Mon Sep 7 14:48:09 2020 +0200

    ECompEditorMemo: Invalid cast of a widget object
    
    Related to commit 3bb9beb38b1641af09b041d089f56a7adb4c7228 , which missed
    this place.
    
    Closes https://gitlab.gnome.org/Teams/Releng/freeze-breaks/-/issues/4

 src/calendar/gui/e-comp-editor-memo.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/calendar/gui/e-comp-editor-memo.c b/src/calendar/gui/e-comp-editor-memo.c
index 8c2aef6638..40d6cf47c5 100644
--- a/src/calendar/gui/e-comp-editor-memo.c
+++ b/src/calendar/gui/e-comp-editor-memo.c
@@ -133,7 +133,7 @@ ece_memo_notify_target_client_cb (GObject *object,
        memo_editor = E_COMP_EDITOR_MEMO (object);
        comp_editor = E_COMP_EDITOR (memo_editor);
        cal_client = e_comp_editor_get_target_client (comp_editor);
-       description_widget = gtk_bin_get_child (GTK_BIN (e_comp_editor_property_part_get_edit_widget 
(memo_editor->priv->description)));
+       description_widget = e_comp_editor_property_part_string_get_real_edit_widget 
(E_COMP_EDITOR_PROPERTY_PART_STRING (memo_editor->priv->description));
        text_buffer = gtk_text_view_get_buffer (GTK_TEXT_VIEW (description_widget));
 
        if (cal_client && e_client_check_capability (E_CLIENT (cal_client), 
E_CAL_STATIC_CAPABILITY_SIMPLE_MEMO)) {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]