diff options
author | Ted Gould <ted@canonical.com> | 2009-11-08 23:03:39 -0600 |
---|---|---|
committer | Ted Gould <ted@canonical.com> | 2009-11-08 23:03:39 -0600 |
commit | 3d0184bcbf410c6e98bde748dad0f1137f926e57 (patch) | |
tree | 5629673a8972654e096c677919b6a26cc9f5ee84 /src/custom-service.c | |
parent | 3345ad50147621c5a3b374e50754a312db609a0f (diff) | |
parent | d0abddaaf72e621a495871e5805cd39a51891b2b (diff) | |
download | ayatana-indicator-application-3d0184bcbf410c6e98bde748dad0f1137f926e57.tar.gz ayatana-indicator-application-3d0184bcbf410c6e98bde748dad0f1137f926e57.tar.bz2 ayatana-indicator-application-3d0184bcbf410c6e98bde748dad0f1137f926e57.zip |
Building the service and getting things in better shape.
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 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); |