[evolution/wip/webkit2] EHTMLEditorView - Return right value from selection_is_in_table when no parameters are passed
- From: Tomas Popela <tpopela src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/wip/webkit2] EHTMLEditorView - Return right value from selection_is_in_table when no parameters are passed
- Date: Wed, 22 Apr 2015 13:14:56 +0000 (UTC)
commit 0ecde04550d32a028530fa609bf2c428faa9d3de
Author: Tomas Popela <tpopela redhat com>
Date: Mon Mar 30 13:40:07 2015 +0200
EHTMLEditorView - Return right value from selection_is_in_table when no parameters are passed
web-extensions/e-html-editor-view-dom-functions.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/web-extensions/e-html-editor-view-dom-functions.c
b/web-extensions/e-html-editor-view-dom-functions.c
index 302a6ff..7fe9102 100644
--- a/web-extensions/e-html-editor-view-dom-functions.c
+++ b/web-extensions/e-html-editor-view-dom-functions.c
@@ -6410,11 +6410,14 @@ selection_is_in_table (WebKitDOMDocument *document,
*first_cell = TRUE;
}
}
- }
+ } else
+ return TRUE;
}
if (WEBKIT_DOM_IS_HTML_TABLE_ELEMENT (parent)) {
if (table_node != NULL)
*table_node = parent;
+ else
+ return TRUE;
}
parent = webkit_dom_node_get_parent_node (parent);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]