[evolution/wip/webkit-composer] EEditorWidget: Return NULL when the citation is already quoted



commit ebe187f021e83f268b85fc5b3dcc1a58c8c13317
Author: Tomas Popela <tpopela redhat com>
Date:   Wed Feb 26 13:47:52 2014 +0100

    EEditorWidget: Return NULL when the citation is already quoted

 e-util/e-editor-widget.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/e-util/e-editor-widget.c b/e-util/e-editor-widget.c
index fb96a9f..592acdf 100644
--- a/e-util/e-editor-widget.c
+++ b/e-util/e-editor-widget.c
@@ -3069,7 +3069,7 @@ e_editor_widget_quote_plain_text (EEditorWidget *widget)
        element = webkit_dom_document_query_selector (
                document, ".-x-evo-plaintext-quoted", NULL);
        if (element)
-               return;
+               return NULL;
 
        body = webkit_dom_document_get_body (document);
        body_clone = webkit_dom_node_clone_node (WEBKIT_DOM_NODE (body), TRUE);


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