[evolution/wip-webkit2] EWebView - Remove code that is already handled in DOM.
- From: Tomas Popela <tpopela src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/wip-webkit2] EWebView - Remove code that is already handled in DOM.
- Date: Fri, 8 Nov 2013 13:51:34 +0000 (UTC)
commit 45ce64b67fc80193e9b8a6c86549ae17b579fb99
Author: Tomas Popela <tpopela redhat com>
Date: Fri Nov 8 14:27:07 2013 +0100
EWebView - Remove code that is already handled in DOM.
e-util/e-web-view.c | 10 ++--------
1 files changed, 2 insertions(+), 8 deletions(-)
---
diff --git a/e-util/e-web-view.c b/e-util/e-web-view.c
index 9b36505..ef67ef5 100644
--- a/e-util/e-web-view.c
+++ b/e-util/e-web-view.c
@@ -2143,8 +2143,8 @@ e_web_view_reload (EWebView *web_view)
static void
get_document_content_html_cb (GDBusProxy *web_extension,
- GAsyncResult *result,
- GTask *task)
+ GAsyncResult *result,
+ GTask *task)
{
GVariant *result_variant;
const gchar *html_content;
@@ -2894,9 +2894,6 @@ e_web_view_get_selection_content_html (EWebView *web_view,
g_return_if_fail (E_IS_WEB_VIEW (web_view));
task = g_task_new (web_view, cancellable, callback, user_data);
-/*FIXME XXX
- if (!webkit_web_view_has_selection (WEBKIT_WEB_VIEW (web_view)))
- return NULL;*/
web_extension = e_web_view_get_web_extension_proxy (web_view);
if (web_extension) {
@@ -2935,9 +2932,6 @@ e_web_view_get_selection_content_html_sync (EWebView *web_view,
GDBusProxy *web_extension;
g_return_val_if_fail (E_IS_WEB_VIEW (web_view), NULL);
-/*FIXME XXX
- if (!webkit_web_view_has_selection (WEBKIT_WEB_VIEW (web_view)))
- return NULL;*/
web_extension = e_web_view_get_web_extension_proxy (web_view);
if (web_extension) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]