[evolution] EComposerPrivate - Block the selection-changed signal before trying to unblock it



commit 05fff5a8e8eef69d9ec9dd08d82a3df9c1647b6b
Author: Tomas Popela <tpopela redhat com>
Date:   Tue Jan 13 16:31:51 2015 +0100

    EComposerPrivate - Block the selection-changed signal before trying to unblock it
    
    To avoid warning printed on console.

 composer/e-composer-private.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/composer/e-composer-private.c b/composer/e-composer-private.c
index f38b90c..6ad1226 100644
--- a/composer/e-composer-private.c
+++ b/composer/e-composer-private.c
@@ -896,6 +896,7 @@ composer_move_caret (EMsgComposer *composer)
 
                if (is_message_from_edit_as_new) {
                        element = WEBKIT_DOM_ELEMENT (body);
+                       e_html_editor_selection_block_selection_changed (editor_selection);
                        goto move_caret;
                } else
                        e_html_editor_selection_scroll_to_caret (editor_selection);


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