aboutsummaryrefslogtreecommitdiff
path: root/src/custom-service.c
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-11-06 17:13:47 -0600
committerTed Gould <ted@canonical.com>2009-11-06 17:13:47 -0600
commitced0ec2c7e9e9138fb42422e662bf03deb957343 (patch)
tree44c308f472d22edadb04c8ba123b4d3379c3982a /src/custom-service.c
parentfa2ac0047468678ee0bd6cf8e03731bbfdd98dd3 (diff)
downloadayatana-indicator-application-ced0ec2c7e9e9138fb42422e662bf03deb957343.tar.gz
ayatana-indicator-application-ced0ec2c7e9e9138fb42422e662bf03deb957343.tar.bz2
ayatana-indicator-application-ced0ec2c7e9e9138fb42422e662bf03deb957343.zip
Connecting the watcher and the appstore. And actually building one. We're on DBus now.
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 df3d58a..3205bc2 100644
--- a/src/custom-service.c
+++ b/src/custom-service.c
@@ -2,10 +2,12 @@
#include "libindicator/indicator-service.h"
#include "notification-item-client.h"
#include "custom-service-appstore.h"
+#include "custom-service-watcher.h"
#include "dbus-shared.h"
static GMainLoop * mainloop = NULL;
static CustomServiceAppstore * appstore = NULL;
+static CustomServiceWatcher * watcher = NULL;
static IndicatorService * service = NULL;
int
@@ -15,6 +17,7 @@ main (int argc, char ** argv)
service = indicator_service_new(INDICATOR_CUSTOM_DBUS_ADDR);
appstore = CUSTOM_SERVICE_APPSTORE(g_object_new(CUSTOM_SERVICE_APPSTORE_TYPE, NULL));
+ watcher = custom_service_watcher_new(appstore);
mainloop = g_main_loop_new(NULL, FALSE);
g_main_loop_run(mainloop);