[evolution/wip-webkit2] Fix compilation of Evolution Web Extension
- From: Tomas Popela <tpopela src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/wip-webkit2] Fix compilation of Evolution Web Extension
- Date: Wed, 30 Oct 2013 13:57:00 +0000 (UTC)
commit def667da366fa9a0328387ea54d604acc8ddcc18
Author: Tomas Popela <tpopela redhat com>
Date: Wed Oct 30 14:56:22 2013 +0100
Fix compilation of Evolution Web Extension
web-extensions/evolution-web-extension.c | 13 +++++++++----
1 files changed, 9 insertions(+), 4 deletions(-)
---
diff --git a/web-extensions/evolution-web-extension.c b/web-extensions/evolution-web-extension.c
index 8bb3fcd..0167fdd 100644
--- a/web-extensions/evolution-web-extension.c
+++ b/web-extensions/evolution-web-extension.c
@@ -22,6 +22,10 @@
#include <gtk/gtk.h>
#include <webkit2/webkit-web-extension.h>
+#include <libemail-engine/e-mail-enums.h>
+
+#include <string.h>
+
#include "../e-util/e-dom-utils.h"
/* FIXME Clean it */
@@ -347,7 +351,8 @@ handle_method_call (GDBusConnection *connection,
return;
document = webkit_web_page_get_dom_document (web_page);
- e_dom_utils_vcard_inline_bind_dom (document, element_id);
+ e_dom_utils_module_vcard_inline_bind_dom (
+ document, element_id, connection);
g_dbus_method_invocation_return_value (invocation, NULL);
} else if (g_strcmp0 (method_name, "VCardInlineUpdateButton") == 0) {
@@ -363,12 +368,12 @@ handle_method_call (GDBusConnection *connection,
return;
document = webkit_web_page_get_dom_document (web_page);
- e_dom_utils_vcard_inline_update_button (
+ e_dom_utils_module_vcard_inline_update_button (
document, button_value, html_label, access_key);
g_dbus_method_invocation_return_value (invocation, NULL);
} else if (g_strcmp0 (method_name, "VCardInlineSetIFrameSrc") == 0) {
- const gchar *src
+ const gchar *src;
g_variant_get (parameters, "(t&s)", &page_id, &src);
web_page = get_webkit_web_page_or_return_dbus_error (invocation, web_extension, page_id);
@@ -376,7 +381,7 @@ handle_method_call (GDBusConnection *connection,
return;
document = webkit_web_page_get_dom_document (web_page);
- e_dom_utils_vcard_inline_set_iframe_src (document, src);
+ e_dom_utils_module_vcard_inline_set_iframe_src (document, src);
g_dbus_method_invocation_return_value (invocation, NULL);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]