diff options
author | Ted Gould <ted@canonical.com> | 2009-08-06 15:28:41 +0100 |
---|---|---|
committer | Ted Gould <ted@canonical.com> | 2009-08-06 15:28:41 +0100 |
commit | 39ac4b97ba6657a1cf3151c211bf7367ecd17a02 (patch) | |
tree | 5fa3bde860a54ae6da5a758e85b7511eca5a41ad | |
parent | 78afa2e5ac7a98282bae867b2b68612ad3a01cba (diff) | |
download | ayatana-indicator-session-39ac4b97ba6657a1cf3151c211bf7367ecd17a02.tar.gz ayatana-indicator-session-39ac4b97ba6657a1cf3151c211bf7367ecd17a02.tar.bz2 ayatana-indicator-session-39ac4b97ba6657a1cf3151c211bf7367ecd17a02.zip |
Getting a new object to remove an error.
-rw-r--r-- | src/dbus-shared-names.h | 1 | ||||
-rw-r--r-- | src/status-service-dbus.c | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/dbus-shared-names.h b/src/dbus-shared-names.h index bd2f8ab..516755d 100644 --- a/src/dbus-shared-names.h +++ b/src/dbus-shared-names.h @@ -4,6 +4,7 @@ #define INDICATOR_STATUS_DBUS_NAME "org.ayatana.indicator.status" #define INDICATOR_STATUS_DBUS_OBJECT "/org/ayatana/indicator/status" +#define INDICATOR_STATUS_SERVICE_DBUS_OBJECT "/org/ayatana/indicator/status-service" #define INDICATOR_USERS_DBUS_NAME "org.ayatana.indicator.users" #define INDICATOR_USERS_DBUS_OBJECT "/org/ayatana/indicator/users" diff --git a/src/status-service-dbus.c b/src/status-service-dbus.c index 24c164a..d1ee662 100644 --- a/src/status-service-dbus.c +++ b/src/status-service-dbus.c @@ -82,7 +82,7 @@ status_service_dbus_init (StatusServiceDbus *self) DBusGConnection * connection = dbus_g_bus_get(DBUS_BUS_SESSION, NULL); dbus_g_connection_register_g_object(connection, - INDICATOR_STATUS_DBUS_OBJECT, + INDICATOR_STATUS_SERVICE_DBUS_OBJECT, G_OBJECT(self)); return; |