aboutsummaryrefslogtreecommitdiff
path: root/src/custom-service.c
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-11-02 17:19:25 -0600
committerTed Gould <ted@canonical.com>2009-11-02 17:19:25 -0600
commit3d1c4c46fd56576b228bc59dc7b3af3bf82db642 (patch)
treebb3052b022fba41c2cef98dcd53bb2a61c4f6299 /src/custom-service.c
parentf2c4a15e281e697bd6222efe80432014f0cef32f (diff)
downloadlibayatana-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.c3
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);