diff options
author | Ted Gould <ted@canonical.com> | 2009-11-02 19:52:47 -0600 |
---|---|---|
committer | Ted Gould <ted@canonical.com> | 2009-11-02 19:52:47 -0600 |
commit | 9aff9ba7149a1757f124db54599637801fa76ae6 (patch) | |
tree | 29e781e6f18dd2a3a9379da1b0b99e15cde9d312 /src/custom-service.c | |
parent | 3d1c4c46fd56576b228bc59dc7b3af3bf82db642 (diff) | |
download | libayatana-appindicator-9aff9ba7149a1757f124db54599637801fa76ae6.tar.gz libayatana-appindicator-9aff9ba7149a1757f124db54599637801fa76ae6.tar.bz2 libayatana-appindicator-9aff9ba7149a1757f124db54599637801fa76ae6.zip |
Getting the name into a header.
Diffstat (limited to 'src/custom-service.c')
-rw-r--r-- | src/custom-service.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/custom-service.c b/src/custom-service.c index 2f8ecf5..df3d58a 100644 --- a/src/custom-service.c +++ b/src/custom-service.c @@ -2,6 +2,7 @@ #include "libindicator/indicator-service.h" #include "notification-item-client.h" #include "custom-service-appstore.h" +#include "dbus-shared.h" static GMainLoop * mainloop = NULL; static CustomServiceAppstore * appstore = NULL; @@ -12,7 +13,7 @@ main (int argc, char ** argv) { g_type_init(); - service = indicator_service_new("org.ayatana.indicator.custom"); + service = indicator_service_new(INDICATOR_CUSTOM_DBUS_ADDR); appstore = CUSTOM_SERVICE_APPSTORE(g_object_new(CUSTOM_SERVICE_APPSTORE_TYPE, NULL)); mainloop = g_main_loop_new(NULL, FALSE); |