aboutsummaryrefslogtreecommitdiff
path: root/src/session-dbus.c
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2010-03-12 14:59:01 -0600
committerTed Gould <ted@gould.cx>2010-03-12 14:59:01 -0600
commit05dbbb9a09bfa74c23683c8110bf0853635a635e (patch)
treeb445ae8a2035033ae24495960e8ca87813a8ad47 /src/session-dbus.c
parente504d1d019cf0af9b210d8150a5822f5e4878f4f (diff)
downloadayatana-indicator-session-05dbbb9a09bfa74c23683c8110bf0853635a635e.tar.gz
ayatana-indicator-session-05dbbb9a09bfa74c23683c8110bf0853635a635e.tar.bz2
ayatana-indicator-session-05dbbb9a09bfa74c23683c8110bf0853635a635e.zip
Add shared names for the dbus interfaces.
Diffstat (limited to 'src/session-dbus.c')
-rw-r--r--src/session-dbus.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/session-dbus.c b/src/session-dbus.c
index 60002d0..f656bb0 100644
--- a/src/session-dbus.c
+++ b/src/session-dbus.c
@@ -3,6 +3,7 @@
#endif
#include "session-dbus.h"
+#include "dbus-shared-names.h"
static gboolean _session_dbus_server_get_icon (SessionDbus * service, gchar ** icon, GError ** error);
@@ -58,7 +59,7 @@ static void
session_dbus_init (SessionDbus *self)
{
DBusGConnection * session = dbus_g_bus_get(DBUS_BUS_SESSION, NULL);
- dbus_g_connection_register_g_object(session, "/bob", G_OBJECT(self));
+ dbus_g_connection_register_g_object(session, INDICATOR_SESSION_SERVICE_DBUS_OBJECT, G_OBJECT(self));
SessionDbusPrivate * priv = SESSION_DBUS_GET_PRIVATE(self);