[evolution/wip-webkit2] EMailPartHeaders - Do DOM bindings asynchronously
- From: Tomas Popela <tpopela src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/wip-webkit2] EMailPartHeaders - Do DOM bindings asynchronously
- Date: Fri, 8 Nov 2013 13:50:34 +0000 (UTC)
commit 3b705cd22355fb978ba42bbb9f95efa8be93d6bb
Author: Tomas Popela <tpopela redhat com>
Date: Fri Nov 8 13:17:46 2013 +0100
EMailPartHeaders - Do DOM bindings asynchronously
em-format/e-mail-part-headers.c | 22 +++++++++-------------
1 files changed, 9 insertions(+), 13 deletions(-)
---
diff --git a/em-format/e-mail-part-headers.c b/em-format/e-mail-part-headers.c
index 6b7e915..05a4109 100644
--- a/em-format/e-mail-part-headers.c
+++ b/em-format/e-mail-part-headers.c
@@ -220,19 +220,15 @@ mail_part_headers_bind_dom_element (EMailPart *part,
const gchar *element_id)
{
if (web_extension) {
- GVariant *result;
-
- result = g_dbus_proxy_call_sync (
- web_extension,
- "EMailPartHeadersBindDOMElement",
- g_variant_new ("(ts)", page_id, element_id),
- G_DBUS_CALL_FLAGS_NONE,
- -1,
- NULL,
- NULL);
-
- if (result)
- g_variant_unref (result);
+ g_dbus_proxy_call (
+ web_extension,
+ "EMailPartHeadersBindDOMElement",
+ g_variant_new ("(ts)", page_id, element_id),
+ G_DBUS_CALL_FLAGS_NONE,
+ -1,
+ NULL,
+ NULL,
+ NULL);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]