diff options
-rw-r--r-- | libindicator/Makefile.am | 1 | ||||
-rw-r--r-- | libindicator/dbus-shared.h | 4 | ||||
-rw-r--r-- | libindicator/indicator-service.c | 3 |
3 files changed, 7 insertions, 1 deletions
diff --git a/libindicator/Makefile.am b/libindicator/Makefile.am index cce87ca..209b787 100644 --- a/libindicator/Makefile.am +++ b/libindicator/Makefile.am @@ -19,6 +19,7 @@ lib_LTLIBRARIES = \ libindicator_la_SOURCES = \ $(indicator_headers) \ + dbus-shared.h \ indicator-object.c \ indicator-service.c \ indicator-service-manager.c diff --git a/libindicator/dbus-shared.h b/libindicator/dbus-shared.h new file mode 100644 index 0000000..f64588c --- /dev/null +++ b/libindicator/dbus-shared.h @@ -0,0 +1,4 @@ + +#define INDICATOR_SERVICE_INTERFACE "org.ayatana.indicator.service" +#define INDICATOR_SERVICE_OBJECT "/org/ayatana/indicator/service" + diff --git a/libindicator/indicator-service.c b/libindicator/indicator-service.c index 125ecfc..eef916b 100644 --- a/libindicator/indicator-service.c +++ b/libindicator/indicator-service.c @@ -9,6 +9,7 @@ void _indicator_service_server_watch (void); #include "indicator-service-server.h" +#include "dbus-shared.h" /* Private Stuff */ typedef struct _IndicatorServicePrivate IndicatorServicePrivate; @@ -129,7 +130,7 @@ indicator_service_init (IndicatorService *self) } dbus_g_connection_register_g_object(session_bus, - "/need/a/path", + INDICATOR_SERVICE_OBJECT, G_OBJECT(self)); return; |