[evolution-data-server] Bug #737279 - DRA not working
- From: Fabiano Fidêncio <ffidencio src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server] Bug #737279 - DRA not working
- Date: Thu, 25 Sep 2014 15:30:52 +0000 (UTC)
commit 85dcb9b9e804a532ca7736a7c6b2280b1a56752d
Author: Fabiano Fidêncio <fidencio redhat com>
Date: Thu Sep 25 17:22:36 2014 +0200
Bug #737279 - DRA not working
addressbook/libebook/e-book-client.c | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/addressbook/libebook/e-book-client.c b/addressbook/libebook/e-book-client.c
index 0cd1d57..126b331 100644
--- a/addressbook/libebook/e-book-client.c
+++ b/addressbook/libebook/e-book-client.c
@@ -1530,6 +1530,7 @@ connect_direct (EBookClient *client,
EBookClientPrivate *priv;
EDBusDirectBook *direct_config;
const gchar *backend_name, *backend_path, *config;
+ gchar *bus_name;
priv = E_BOOK_CLIENT_GET_PRIVATE (client);
@@ -1542,13 +1543,17 @@ connect_direct (EBookClient *client,
return;
}
+ bus_name = e_client_dup_bus_name (E_CLIENT (client));
+
direct_config = e_dbus_direct_book_proxy_new_sync (
g_dbus_proxy_get_connection (G_DBUS_PROXY (priv->dbus_proxy)),
G_DBUS_PROXY_FLAGS_NONE,
- ADDRESS_BOOK_DBUS_SERVICE_NAME,
+ bus_name,
g_dbus_proxy_get_object_path (G_DBUS_PROXY (priv->dbus_proxy)),
NULL, NULL);
+ g_free (bus_name);
+
backend_path = e_dbus_direct_book_get_backend_path (direct_config);
backend_name = e_dbus_direct_book_get_backend_name (direct_config);
config = e_dbus_direct_book_get_backend_config (direct_config);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]