diff options
author | Ted Gould <ted@canonical.com> | 2009-11-02 17:19:25 -0600 |
---|---|---|
committer | Ted Gould <ted@canonical.com> | 2009-11-02 17:19:25 -0600 |
commit | 3d1c4c46fd56576b228bc59dc7b3af3bf82db642 (patch) | |
tree | bb3052b022fba41c2cef98dcd53bb2a61c4f6299 /src/custom-service.c | |
parent | f2c4a15e281e697bd6222efe80432014f0cef32f (diff) | |
download | libayatana-appindicator-3d1c4c46fd56576b228bc59dc7b3af3bf82db642.tar.gz libayatana-appindicator-3d1c4c46fd56576b228bc59dc7b3af3bf82db642.tar.bz2 libayatana-appindicator-3d1c4c46fd56576b228bc59dc7b3af3bf82db642.zip |
Boom, make us an indicator service.
Diffstat (limited to 'src/custom-service.c')
-rw-r--r-- | src/custom-service.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/custom-service.c b/src/custom-service.c index b191bac..2f8ecf5 100644 --- a/src/custom-service.c +++ b/src/custom-service.c @@ -1,15 +1,18 @@ +#include "libindicator/indicator-service.h" #include "notification-item-client.h" #include "custom-service-appstore.h" static GMainLoop * mainloop = NULL; static CustomServiceAppstore * appstore = NULL; +static IndicatorService * service = NULL; int main (int argc, char ** argv) { g_type_init(); + service = indicator_service_new("org.ayatana.indicator.custom"); appstore = CUSTOM_SERVICE_APPSTORE(g_object_new(CUSTOM_SERVICE_APPSTORE_TYPE, NULL)); mainloop = g_main_loop_new(NULL, FALSE); |