[empathy] chat-manager: define CHAT_MANAGER_PATH



commit 21674ad377f646ef1e242f7e4260ee2398a220be
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date:   Thu Feb 6 14:48:57 2014 +0100

    chat-manager: define CHAT_MANAGER_PATH
    
    https://bugzilla.gnome.org/show_bug.cgi?id=723766

 src/empathy-chat-manager.c |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/src/empathy-chat-manager.c b/src/empathy-chat-manager.c
index 5593463..279d7d8 100644
--- a/src/empathy-chat-manager.c
+++ b/src/empathy-chat-manager.c
@@ -32,6 +32,8 @@
 #define DEBUG_FLAG EMPATHY_DEBUG_OTHER
 #include "empathy-debug.h"
 
+#define CHAT_MANAGER_PATH "/org/gnome/Empathy/ChatManager"
+
 enum {
   CLOSED_CHATS_CHANGED,
   DISPLAYED_CHATS_CHANGED,
@@ -369,7 +371,7 @@ empathy_chat_manager_constructed (GObject *obj)
   if (dbus_daemon != NULL)
     {
       tp_dbus_daemon_register_object (dbus_daemon,
-          "/org/gnome/Empathy/ChatManager", obj);
+          CHAT_MANAGER_PATH, obj);
 
       g_object_unref (dbus_daemon);
     }
@@ -546,7 +548,7 @@ empathy_chat_manager_call_undo_closed_chat (void)
       "dbus-daemon", dbus_daemon,
       "dbus-connection", tp_proxy_get_dbus_connection (TP_PROXY (dbus_daemon)),
       "bus-name", EMPATHY_CHAT_BUS_NAME,
-      "object-path", "/org/gnome/Empathy/ChatManager",
+      "object-path", CHAT_MANAGER_PATH,
       NULL);
 
   tp_proxy_add_interface_by_id (proxy, EMP_IFACE_QUARK_CHAT_MANAGER);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]